Customers
List a customer’s purchases
What the customer holds: each purchased offer with its order, a page at a time.
Authorization
bearer customers:readAuthorizationBearer <token>
A v1 API key; the scope named is the one the route needs.
In: header
Scope: customers:read
Path Parameters
customerId*string
Match
^[A-Za-z0-9_-]{1,64}$Length
1 <= length <= 64Query Parameters
limit?integer
Range
1 <= value <= 100Default
20cursor?string
Match
^[A-Za-z0-9_-]{1,512}$productKind?string
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/customers/string/inventory"{ "data": [ { "orderId": "string", "offerId": "string", "productId": "string", "productKind": "string", "name": "string", "quantity": 1, "status": "string", "acquiredAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}