Skip to navigation

List plans

Draft scaffold — not implemented or available in the API.

Lists plans. Filter by product, externalId or upgrade-path group; filtering by group sorts the plans by position. Archived plans are left out unless includeArchived is true.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the plans=v1 beta. Send this header to use it.

Allowed values:

Query parameters

cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

externalIdstringOptional1-255 characters
Your stable identifier, 1 to 255 characters.
groupstringOptional1-255 characters
Your stable identifier, 1 to 255 characters.
includeArchivedenumOptional

Pass true to include archived objects.

Allowed values:
limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
productstringOptional1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The resources on this page.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error