Holdings
The cards that your buyers hold, and what a buyer can do with each.
Each card of a pull is a holding of the buyer. Grail Network keeps the card in its vault for the buyer. The buyer can sell it back during the buyback offer, or have it shipped.
Read the holdings
GET /shop/holdings?buyerId=buyer-5521| Field | Meaning |
|---|---|
id | The holding |
buyerId | Your own id of the buyer, 1 to 200 characters |
pullId | The pull that gave the card |
priceAtHold | The card price when the buyer got the card |
payout | What a sale back pays |
buybackOfferEndsAt | A sale back is refused from this time on |
orderedAt, orderId | The order of a shipment that holds the card. null: none |
boughtBackAt | When the buyer sold the card back. null while the buyer has it |
item | The card: catalogCard (name, number, setName, categoryName), gradeName, conditionName, frontPictureUrl |
The filters: buyerId, pullId, live (only the holdings that are not sold back), ordered, sort, page and
pageSize. GET /shop/holdings/{holdingId} reads one holding.
A sale back
POST /shop/holdings/{holdingId}/buy-backNo body. Grail Network buys the card back at its payout, and puts the payout into your shop's balance. The answer is
the holding with its boughtBackAt. A second request gets the same answer, and changes nothing.
| Code | Status | When |
|---|---|---|
HOLDING_NOT_FOUND | 404 | Your shop has no holding with this id |
HOLDING_ORDERED | 409 | An order of a shipment holds the card |
BUYBACK_OFFER_ENDED | 409 | The offer ended at buybackOfferEndsAt |
Shipping
To ship a buyer's cards, ask for a quote, then order it. See Shipping.