Skip to Content
API ReferenceProduct Variants

Duplicate a variant

Copy a variant of a normal product onto the same product.

Copy a variant to add a similar option to the same product. The copy keeps the original's draft state, so a copy of a published variant is on sale as soon as it is created. Every call creates another variant.

POST
/v2/products/{product}/variants/{variant}/duplicate

Copy a variant of a normal product onto the same product and return the copy. The copy keeps every setting, the title, and the draft state, so a copy of a published variant is on sale straight away. Downloadable files and their folders are copied too. Serial codes and issued licence keys are not copied: a copy that delivers serial codes gets a stock of 0, so it shows as sold out until you add codes. Subscription variants cannot be duplicated. Requires the listing API-key ability and the listing permission in your team role. Not safe to retry blindly: every call creates another variant. If a response is lost, list the product's variants, with with_drafts=true for a draft, before trying again. A variant of a bundle, add-on, credits product, booking product, or course returns 422 on product. A subscription variant returns 422 on variant. A variant of another product returns 404. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*integer

The product path parameter.

variant*integer

The variant 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.

Response Body

The copy, as created. Its serial codes start empty.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/products/1/variants/2/duplicate' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 3,    "product_id": 1,    "title": "Professional Edition",    "description": "Includes templates, examples and email support.",    "deliverable": {      "data": {        "removeDuplicate": false,        "parsingMode": "COMMA",        "stock": 0,        "comment": "Thanks for the purchase! I'll send you a contract by email. Make sure to sign it with your blood.",        "serials": []      },      "types": [        "TEXT",        "MANUAL"      ]    },    "pricing": {      "humble": true,      "frequency": {        "value": 1,        "interval": "MONTH"      },      "type": "SINGLE_PAYMENT",      "price": {        "price": "1999",        "currency": "USD"      }    },    "minimum_purchase_quantity": 1,    "maximum_purchase_quantity": 3,    "bulk_discount": [      {        "discount_percentage": 10,        "minimum_purchase_amount": 10      }    ],    "payment_methods": [      "BTC",      "STRIPE"    ],    "other_settings": {      "quantity_increments": 2,      "discord_data_required": false    },    "order": 1,    "created_at": "2026-07-03T09:12:00.000000Z",    "updated_at": "2026-07-03T09:12:00.000000Z",    "deleted_at": null,    "product": {      "additional_information": [        {          "required": true,          "key": "5ebae238c0afae7f4a4b96b30ff6f34c",          "type": "CHECKBOX",          "label": "I agree to the purchase terms"        }      ]    },    "is_draft": false  }}