Estimate a reprice
Counts what a reprice would do for a scope, a level and its options, before anything is planned: the cards in scope, how many prices would go down or up, the cards that would be shown as Good deals, and the highest-value card that would change. It plans nothing and changes nothing.
A level of percent-of-current prices each card at its current sale price plus percent. Graded cards and cards without a market price keep their price under every level and are not counted as changes.
Requires the listings:read scope.
Body
- Properties: 2Type: objectlevelrequired
- Properties: 5Type: objectscoperequired
- Properties: 2Type: objectalso
List - Type: stringenumdirection
Which way prices may move, for every scope kind. A price rise removes the card from buyers' carts.
values- both
Prices may go down or up.
- down
Prices only go down.
- up
Prices only go up.
- both
- Type: objectfloorProperties: 2
Never price below this. The currency must be your seller currency. Default 0.25 in your market currency, converted and rounded up.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://public-api.cardnexus.com/v1/inventory/reprice/estimate \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"scope": {
"kind": "group",
"group": "way-above"
},
"level": {
"kind": "sell-fast"
},
"direction": "both",
"floor": {
"amount": 1,
"currency": "USD"
},
"alsoList": {
"enabled": true,
"minMarketValue": 2
}
}'
{
"region": "eu",
"currency": "EUR",
"marketCurrency": "EUR",
"marketToSellerRate": 1,
"defaultFloor": {
"amount": 0.25,
"currency": "EUR"
},
"aboveMarketMinGap": {
"amount": 0.25,
"currency": "EUR"
},
"sellFastPercent": 20,
"inScope": 2051,
"willChange": 2045,
"down": 2045,
"up": 0,
"promotedAfter": 1380,
"promotedAfterSellFast": 1380,
"eligibleToList": {
"count": 1204,
"marketValue": {
"amount": 9100,
"currency": "EUR"
}
},
"example": {
"name": "Charizard ex",
"productType": "card",
"condition": "NM",
"language": "en",
"oldPrice": {
"amount": 99,
"currency": "EUR"
},
"newPrice": {
"amount": 48.96,
"currency": "EUR"
},
"marketPrice": {
"amount": 61.2,
"currency": "EUR"
}
}
}