GET
/
gift-cards

This endpoint requires the gift-cards.read scope.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

buyer_id
string

Filters the results to only the items for which the buyer has an id that matches this value.

buyer_external_identifier
string

Filters the results to only the items for which the buyer has an external_identifier that matches this value.

limit
integer
default: 20

Defines the maximum number of items to return for this request.

Required range: 1 < x < 100
cursor
string

A cursor that identifies the page of results to return. This is used to paginate the results of this API.

For the first page of results, this parameter can be left out. For additional pages, use the value returned by the API in the next_cursor field. Similarly the previous_cursor can be used to reverse backwards in the list.

Response

200 - application/json

A list of stored gift cards.

items
object[]

A list of stored gift cards.

limit
integer
default: 20

The limit applied to request. This represents the number of items that are at maximum returned by this request.

Required range: 1 < x < 100
next_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000
previous_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000