API ReferenceProduct Variants
List all product variants
List a product's variants, 15 per page by default.
List a product's variants, 15 per page by default.
GET
header
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
product*integerThe product path parameter.
limit?integerNumber of items to return per page.
Range
1 <= value <= 100Default
15page?integerPage number to return.
Range
1 <= valueDefault
1with_drafts?booleanInclude draft variants alongside published variants.
only_drafts?booleanReturn only draft variants.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
Successful response.
application/json- response
data*array<>links*meta*curl -X GET 'https://sell.app/api/v2/products/1/variants' \ -H 'X-STORE: launch-lab'{ "data": [ { "id": 1, "product_id": 1, "title": "Default", "description": "default variant", "deliverable": { "data": { "removeDuplicate": false, "parsingMode": "COMMA", "stock": 15, "comment": "Thanks for the purchase! I'll send you a contract by email. Make sure to sign it with your blood." }, "types": [ "MANUAL" ] }, "pricing": { "humble": false, "frequency": { "value": 1, "interval": "MONTH" }, "type": "SINGLE_PAYMENT", "price": { "price": "1999", "currency": "USD" } }, "minimum_purchase_quantity": 1, "maximum_purchase_quantity": null, "bulk_discount": [ { "discount_percentage": 5, "minimum_purchase_amount": 2 }, { "discount_percentage": 10, "minimum_purchase_amount": 5 } ], "payment_methods": [ "STRIPE" ], "other_settings": { "quantity_increments": 1, "discord_data_required": false }, "order": 1, "created_at": "2024-01-09T23:13:16.000000Z", "updated_at": "2024-01-10T17:27:01.000000Z", "deleted_at": null, "product": { "additional_information": [ { "required": true, "key": "3aecffd000e00e2211e94558007ffc37", "type": "CHECKBOX", "label": "Do you agree to the purchase terms?" } ] }, "is_draft": false } ], "links": { "first": "https://sell.app/api/v2/products/1/variants?page=1", "last": "https://sell.app/api/v2/products/1/variants?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://sell.app/api/v2/products/1/variants", "per_page": 15, "to": 1, "total": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://sell.app/api/v2/products/1/variants?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ] }}