Skip to main content
GET

Get Product Variants

Returns the complete variation → sub-variation → sub-variant tree for a product, as written by Create/Replace Product Variants.

Path Parameters

integer
required
A product you own, or a product owned by an active sub-merchant in your marketplace.

Response

If the product has no variants configured yet, this returns 200 with data: null — it is not a 404. Treat data === null as “no variants,” not as an error.
variations is ordered by order_index ascending; sub_variants is ordered by creation time. createdAt/updatedAt timestamps are stripped at every level of this response.

Error Codes