List all product variants
This endpoint allows you to retrieve a paginated list of all your product variants. By default, a maximum of fifteen product variants are shown per page.
This endpoint allows you to retrieve a paginated list of all your product variants. By default, a maximum of fifteen product variants are shown per page.
Authorization
bearerAuth Provide your SellApp API key as a bearer token.
In: header
Path Parameters
The product path parameter.
Query Parameters
Limit the number of blacklist rules returned.
151 <= value <= 100The page number you are attempting to access.
11 <= valueInclude draft variants alongside published variants.
Return only draft variants.
Response Body
application/json
curl -X GET "https://sell.app/api/v2/products/0/variants"{
"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 handing your soul over?"
}
]
}
}
],
"links": {},
"meta": {}
}Overview
On this page, we’ll dive into the different product variant endpoints you can use to manage product variants programmatically.
Create a product variant POST
This endpoint allows you to create a new product variant. See the code examples for how to create a new product variant with the SellApp API.