Download OpenAPI specification:Download
The Exchange Variants API is what enables Exchanges. It is used to request a list of available product variants, typically items of the same style number, from your ecommerce platform when the shopper will be offered an opportunity to exchange a return item.
When it is used:
{- "variants": [
- {
- "attributes": [
- {
- "name": "Color",
- "value": "Green"
}, - {
- "name": "Size",
- "value": "XL"
}
], - "quantity_in_stock": 0,
- "sku": "444-12345",
- "title": "Fuzzy green t-shirt",
- "unit_price_amount_cents": 100,
}
]
}