Product Variants
The Product Variants API lets you manage different variants of products in your store.
Overview
The Product Variants API provides endpoints to:
Access expiry modes
A variant can limit how long buyers keep access in one of two mutually-exclusive modes:
- Relative -
active_days: buyers keep access for N days after purchase. - Fixed -
access_until: buyers keep access until a fixed calendar date. Settingaccess_untilalso ends the sale window (active_untilis set to the same date), so the variant stops selling on that date.
The API does not enforce mutual exclusivity. If both fields are set, access_until takes precedence at fulfilment.