Skip to main content

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. Setting access_until also ends the sale window (active_until is 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.