API reference
Shop Market Purchases_list
GET
shopApiKeyheader
AuthorizationBearer <token>The shop's API key.
page?integerRange
1 <= value <= 9007199254740991Default
1pageSize?integerRange
1 <= value <= 200Default
20buyerId?stringThe shop's own id of the buyer
Length
1 <= length <= 200state?stringValue in
"started""completed""failed"application/json- response
data*array<>meta*curl -X GET 'https://api-stg.grailnetwork.com/shop/market-purchases'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "itemId": "f11b669d-7201-4c21-88af-d85092f0c005", "cardName": "string", "buyerId": "string", "requestId": "string", "price": { "amountAtomic": "string", "currency": "string" }, "state": "started", "reason": "balance_too_low", "holdingId": "51ebd04a-ea04-425f-9017-f69b7702e7a3", "createdAt": "2019-08-24T14:15:22Z" } ], "meta": { "page": 1, "pageSize": 1, "total": 0 }}