PlanTemplate
List PlanTemplate
Retrieve a list of PlanTemplates.
This endpoint enables you to retrieve a paginated list of PlanTemplates belonging to a specific Organization, identified by its UUID. You can filter the list by PlanTemplate IDs or Product IDs for more focused retrieval.
get/organizations/{orgId}/plantemplates
Path parameters
orgIdstring required
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
Query parameters
pageSizeinteger
Specifies the maximum number of PlanTemplates to retrieve per page.
nextTokenstring
The nextToken for multi-page retrievals. It is used to fetch the next page of PlanTemplates in a paginated list.
productIdstring
The unique identifiers (UUIDs) of the Products to retrieve associated PlanTemplates.
idsstring[]
List of specific PlanTemplate UUIDs to retrieve.
Response
Returns the list of requested PlanTemplates
Example response
{
"data": [
{
"id": "string",
"version": 1,
"customFields": {
"example1": 123,
"example2": "string"
},
"productId": "string",
"name": "string",
"currency": "USD",
"standingCharge": 0,
"standingChargeDescription": "string",
"standingChargeInterval": 1,
"standingChargeOffset": 364,
"billFrequencyInterval": 1,
"billFrequency": "DAILY",
"ordinal": 0,
"code": "string",
"minimumSpend": 0,
"minimumSpendDescription": "string",
"standingChargeBillInAdvance": true,
"minimumSpendBillInAdvance": false
}
]
}