Retrieving variant information
Use the product lookup endpoint to retrieve available variants for a product:Using variantSelections
When creating a checkout intent, pass the option labels and values from the product data:
- Labels are matched with minor fuzzy tolerance (e.g., “Colour” will match “Color”), but values must match exactly (case-insensitive).
- If no variant matches the provided selections, the API returns a
variant_selections_invaliderror. - When
variantSelectionsis provided, it takes precedence over any variant ID embedded in theproductUrl.
Using deep-link URLs
Alternatively, you can provide aproductUrl that points directly to the correct variant. If the URL already includes the variant identifier, you don’t need to include variantSelections.
Notes
- You only need one approach — either
variantSelectionsor a variant-specific URL. If both are provided,variantSelectionstakes precedence.

