curl --request GET \
--url https://api.snappy.com/v3/variants/{variantId}/availability \
--header 'X-Api-Key: <api-key>'{
"US": {
"isAvailable": true,
"price": {
"amount": 45.7,
"currency": "usd"
},
"priceBreakdown": {
"ddp": 0,
"shippingFee": 2.5,
"itemPrice": 43.2
}
},
"CA": {
"isAvailable": false,
"price": null,
"priceBreakdown": null
}
}Returns an availability map for a single variant keyed by ISO 3166-1
alpha-2 country code. Each entry includes isAvailable, price,
and priceBreakdown (the latter two are null when the variant is
not available in that country).
Country codes not present in the response should be treated as
isAvailable: false.
curl --request GET \
--url https://api.snappy.com/v3/variants/{variantId}/availability \
--header 'X-Api-Key: <api-key>'{
"US": {
"isAvailable": true,
"price": {
"amount": 45.7,
"currency": "usd"
},
"priceBreakdown": {
"ddp": 0,
"shippingFee": 2.5,
"itemPrice": 43.2
}
},
"CA": {
"isAvailable": false,
"price": null,
"priceBreakdown": null
}
}Documentation Index
Fetch the complete documentation index at: https://docs.snappy.com/llms.txt
Use this file to discover all available pages before exploring further.
Partner API key. Finalized per partner integration agreement.
Optional account identifier for swag validation/filtering.
Variant identifier (SnappyProduct._id).
Availability map keyed by country code.
Availability map keyed by ISO 3166-1 alpha-2 country code. Country
codes not present should be treated as isAvailable: false.
Per-country availability entry. When isAvailable is false,
price and priceBreakdown are null.
Show child attributes
Was this page helpful?