Skip to Content
API ReferenceProduct Variants

Create a product variant

Add a purchasable option to a product.

Add a purchasable option to a product.

POST
/v2/products/{product}/variants

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*integer

The product path parameter.

Header Parameters

X-STORE?string

Store 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.

Request Body

  1. body
title*string
description*string
deliverable*
pricing*

These endpoints do not write a subscription trial. A trial object is refused with a 422 on pricing.trial; trial: null removes the stored trial, and leaving the key out keeps it. Set a trial through the pricing endpoint.

minimum_purchase_quantity?integer
maximum_purchase_quantity?integer|null
bulk_discount?array<>
payment_methods*array<>

Complete gateway selection for this variant. Selecting CUSTOM_PAYMENT_METHOD also requires at least one custom_payment_method_ids entry.

Items1 <= items
custom_payment_method_ids?array<>

Enabled, usable custom payment method ULIDs belonging to the selected store. Supply at least one when payment_methods includes CUSTOM_PAYMENT_METHOD. Include CUSTOM_PAYMENT_METHOD in payment_methods whenever sending nonempty IDs. On updates, omitting both selections preserves the current methods. Nonempty IDs are rejected when custom payments are not selected.

other_settings?
expected_updated_at?string

Optional optimistic-concurrency snapshot for updates. Use the variant's latest updated_at value; stale snapshots receive a 422 validation response.

Formatdate-time

Response Body

The product variant was created successfully.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/products/120/variants' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "title": "Monthly membership",  "description": "One operating memo each month; access is provisioned by our team.",  "deliverable": {    "types": [      "MANUAL"    ],    "data": {      "stock": null,      "comment": "We will send your reading-room invitation."    }  },  "pricing": {    "humble": false,    "price": {      "price": 1999,      "currency": "USD"    }  },  "payment_methods": [    "STRIPE"  ]}'
{  "data": {    "id": 4321,    "product_id": 120,    "title": "Monthly membership",    "description": "One operating memo each month; access is provisioned by our team.",    "deliverable": {      "types": [        "MANUAL"      ],      "data": {        "stock": null,        "comment": "We will send your reading-room invitation.",        "removeDuplicate": false,        "parsingMode": "COMMA"      }    },    "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": [],    "payment_methods": [      "STRIPE"    ],    "other_settings": {      "quantity_increments": 0,      "discord_data_required": false,      "discord_kick_on_expire": true,      "community_servers": []    },    "order": 1,    "created_at": "2026-08-30T12:00:01.000000Z",    "updated_at": "2026-08-30T12:00:01.000000Z",    "deleted_at": null,    "product": {      "additional_information": []    },    "is_draft": false  }}