Gift certificates
List a gift certificate's allocations
Lists the accounts a gift certificate has been allocated to, one page at a time.
GET
cURL
The records are under
data, each naming the account, the allocation type, its status and date. A certificate with no allocations returns an empty data.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Path Parameters
The gift certificate's id.
Query Parameters
The most records to return on one page.
Example:
20
The next_cursor from the previous page, to fetch the page after it.
The field to sort by. Prefix it with - to sort in descending order.
Example:
"-created_on"