Skip to Content
API ReferenceProduct Variants

Overview

Manage product pricing, inventory, booking rules, and deliverables.

Variants turn a product into something a customer can buy: a monthly membership, a downloadable edition, or an appointment. Each variant defines pricing, accepted payment methods, stock or booking rules, and delivery. Course, credits, and add-on products permit only one variant.

Creating, updating, and deleting variants requires the API key's listing ability or OAuth products:write, matching store permissions, and product and variant IDs from the selected store. Sensitive deliverables are write-only or hidden in responses; keep your own secure copy. Use the path containing both {product} and {variant} for a single update or deletion, and /batch for batch changes. Older paths without a variant ID are deprecated and return 404.

Every variant response carries is_draft. A draft variant cannot be bought, and list, search, and retrieve leave drafts out unless you send with_drafts or only_drafts. A normal product's draft variants are published with the product through Publish a product.

The operation schemas are authoritative for pricing units, deliverable shapes, serial limits, booking fields, and nullable date-time values.

Endpoints

Additional endpoint reference

PUT
/v2/products/{product}/variants/{variant}

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.

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
stock?|

Set an existing variant's stock count while preserving delivery instructions and uploaded files. Send 0 for out of stock or null for unlimited stock. Omit deliverable for a stock-only change. TEXT variants manage stock through their serial inventory and reject this field.

Range0 <= value <= 2147483647

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/products/120/variants/4321' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "title": "Monthly membership plus",  "description": "One annotated operating memo and a monthly founder discussion."}'
{  "data": {    "id": 4321,    "product_id": 120,    "title": "Monthly membership plus",    "description": "One annotated operating memo and a monthly founder discussion.",    "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  }}
PUT
/v2/products/{product}/variants/{variant}/pricing

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.

Request Body

application/json
  1. body
pricing*
payment_methods*array<>

Complete payment-method selection. May be empty only when the resulting published variant is genuinely free, including having no paid credit-rate tiers.

custom_payment_method_ids?array<>

Enabled custom payment method ULIDs owned by the current store. Required when CUSTOM_PAYMENT_METHOD is selected.

bulk_discount?array<>

Quantity pricing tiers for one-time variants. Subscription variants cannot use these tiers.

expected_updated_at?string

Optional optimistic-concurrency snapshot. The token advances for pricing and custom payment-method selection changes; a stale value returns 422 without changing either selection.

Formatdate-time

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/products/120/variants/4321/pricing' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "pricing": {    "type": "SUBSCRIPTION",    "humble": false,    "price": {      "price": 1999,      "currency": "USD"    },    "frequency": {      "value": 1,      "interval": "MONTH"    }  },  "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": "SUBSCRIPTION",      "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  }}
GET
/v2/products/{product}/variants/{variant}/deliverable

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

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

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/products/string/variants/0/deliverable' \  -H 'X-STORE: launch-lab'
{  "data": {    "types": [      "MANUAL"    ],    "data": {      "comment": "Delivery is arranged by Launch Lab."    },    "webhook_configured": false,    "updated_at": "2026-09-01T12:00:00Z"  }}
PUT
/v2/products/{product}/variants/{variant}/deliverable

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

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

application/json
  1. body
types*array<>

The complete type list. TEXT, BOOKING, CREDITS, and BUNDLE are owned by their dedicated resources and must remain unchanged here.

Items1 <= items
expected_updated_at?string

Optional optimistic-concurrency snapshot from the deliverable resource's updated_at field. The request returns 422 if the variant changed after this timestamp was loaded.

Formatdate-time
data*

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/products/string/variants/0/deliverable' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "types": [    "MANUAL"  ],  "data": {    "comment": "Delivery is arranged by Launch Lab."  }}'
{  "data": {    "types": [      "MANUAL"    ],    "data": {      "comment": "Delivery is arranged by Launch Lab."    },    "webhook_configured": false,    "updated_at": "2026-09-01T12:00:00Z"  }}
GET
/v2/products/{product}/variants/{variant}/deliverable/files

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

Query Parameters

limit?integer

Number of items to return per page.

Range1 <= value <= 100
Default15
page?integer

Page number to return.

Range1 <= value
Default1

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

Successful response.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X GET 'https://sell.app/api/v2/products/string/variants/0/deliverable/files' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "id": 301,      "custom_name": "Design kit.zip",      "filename": "design-kit",      "extension": "zip",      "mime_type": "application/zip",      "size": 204800,      "watermark": false,      "max_downloads": null,      "limit_to_purchase_ip": false,      "folder_id": null,      "variant_id": 4321,      "product_id": 120,      "created_at": "2026-09-01T12:00:00Z",      "updated_at": "2026-09-01T12:00:00Z"    }  ],  "links": {    "first": "https://sell.app/api/v2/products/120/variants/4321/deliverable/files?page=1",    "last": "https://sell.app/api/v2/products/120/variants/4321/deliverable/files?page=1",    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "from": 1,    "last_page": 1,    "links": [      {        "url": null,        "label": "&laquo; Previous",        "active": false      },      {        "url": "https://sell.app/api/v2/products/120/variants/4321/deliverable/files?page=1",        "label": "1",        "active": true      },      {        "url": null,        "label": "Next &raquo;",        "active": false      }    ],    "path": "https://sell.app/api/v2/products/120/variants/4321/deliverable/files",    "per_page": 15,    "to": 1,    "total": 1  }}
POST
/v2/products/{product}/variants/{variant}/deliverable/files

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

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

multipart/form-data
  1. body
file*file
Formatbinary
folder_id?|
Range1 <= value

Response Body

Successful response.

application/json
  1. response
data*

A managed downloadable file. Internal storage keys and temporary upload references are never returned.

Example Request
curl -X POST 'https://sell.app/api/v2/products/string/variants/0/deliverable/files' \  -H 'X-STORE: launch-lab' \  -F 'file=design-kit.zip'
{  "data": {    "id": 301,    "custom_name": "Design kit.zip",    "filename": "design-kit",    "extension": "zip",    "mime_type": "application/zip",    "size": 204800,    "watermark": false,    "max_downloads": null,    "limit_to_purchase_ip": false,    "folder_id": null,    "variant_id": 4321,    "product_id": 120,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
GET
/v2/products/{product}/variants/{variant}/deliverable/files/{file}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

file*integer

The managed deliverable file identifier.

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

Successful response.

application/json
  1. response
data*

A managed downloadable file. Internal storage keys and temporary upload references are never returned.

Example Request
curl -X GET 'https://sell.app/api/v2/products/string/variants/0/deliverable/files/0' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 301,    "custom_name": "Design kit.zip",    "filename": "design-kit",    "extension": "zip",    "mime_type": "application/zip",    "size": 204800,    "watermark": false,    "max_downloads": null,    "limit_to_purchase_ip": false,    "folder_id": null,    "variant_id": 4321,    "product_id": 120,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
PATCH
/v2/products/{product}/variants/{variant}/deliverable/files/{file}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

file*integer

The managed deliverable file identifier.

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

application/json
  1. body
custom_name?string|null
folder_id?|
Range1 <= value
watermark?boolean
max_downloads?|
Range1 <= value
limit_to_purchase_ip?boolean

Response Body

Successful response.

application/json
  1. response
data*

A managed downloadable file. Internal storage keys and temporary upload references are never returned.

Example Request
curl -X PATCH 'https://sell.app/api/v2/products/string/variants/0/deliverable/files/0' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "custom_name": "Design kit.zip"}'
{  "data": {    "id": 301,    "custom_name": "Design kit.zip",    "filename": "design-kit",    "extension": "zip",    "mime_type": "application/zip",    "size": 204800,    "watermark": false,    "max_downloads": null,    "limit_to_purchase_ip": false,    "folder_id": null,    "variant_id": 4321,    "product_id": 120,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
PUT
/v2/products/{product}/variants/{variant}/deliverable/files/{file}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

file*integer

The managed deliverable file identifier.

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

application/json
  1. body
custom_name?string|null
folder_id?|
Range1 <= value
watermark?boolean
max_downloads?|
Range1 <= value
limit_to_purchase_ip?boolean

Response Body

Successful response.

application/json
  1. response
data*

A managed downloadable file. Internal storage keys and temporary upload references are never returned.

Example Request
curl -X PUT 'https://sell.app/api/v2/products/string/variants/0/deliverable/files/0' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "custom_name": "Design kit.zip"}'
{  "data": {    "id": 301,    "custom_name": "Design kit.zip",    "filename": "design-kit",    "extension": "zip",    "mime_type": "application/zip",    "size": 204800,    "watermark": false,    "max_downloads": null,    "limit_to_purchase_ip": false,    "folder_id": null,    "variant_id": 4321,    "product_id": 120,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
DELETE
/v2/products/{product}/variants/{variant}/deliverable/files/{file}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

file*integer

The managed deliverable file identifier.

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

Successful response.

application/json
  1. response
data*

A managed downloadable file. Internal storage keys and temporary upload references are never returned.

Example Request
curl -X DELETE 'https://sell.app/api/v2/products/string/variants/0/deliverable/files/0' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 301,    "custom_name": "Design kit.zip",    "filename": "design-kit",    "extension": "zip",    "mime_type": "application/zip",    "size": 204800,    "watermark": false,    "max_downloads": null,    "limit_to_purchase_ip": false,    "folder_id": null,    "variant_id": 4321,    "product_id": 120,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
GET
/v2/products/{product}/variants/{variant}/deliverable/folders

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

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

Successful response.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://sell.app/api/v2/products/string/variants/0/deliverable/folders' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "id": 302,      "name": "Design kit",      "description": "Files included with your purchase.",      "parent_id": null,      "variant_id": 4321,      "sort_order": 0,      "created_at": "2026-09-01T12:00:00Z",      "updated_at": "2026-09-01T12:00:00Z"    }  ]}
POST
/v2/products/{product}/variants/{variant}/deliverable/folders

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

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

application/json
  1. body
name*string
Lengthlength <= 255
description?|
Lengthlength <= 255
parent_id?|
Range1 <= value
sort_order?integer
Range0 <= value

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/products/string/variants/0/deliverable/folders' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Design kit",  "description": "Files included with your purchase."}'
{  "data": {    "id": 302,    "name": "Design kit",    "description": "Files included with your purchase.",    "parent_id": null,    "variant_id": 4321,    "sort_order": 0,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
GET
/v2/products/{product}/variants/{variant}/deliverable/folders/{folder}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

folder*integer

The deliverable folder identifier.

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

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/products/string/variants/0/deliverable/folders/0' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 302,    "name": "Design kit",    "description": "Files included with your purchase.",    "parent_id": null,    "variant_id": 4321,    "sort_order": 0,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
PATCH
/v2/products/{product}/variants/{variant}/deliverable/folders/{folder}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

folder*integer

The deliverable folder identifier.

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

application/json
  1. body
name?string
Lengthlength <= 255
description?|
Lengthlength <= 255
parent_id?|
Range1 <= value
sort_order?integer
Range0 <= value

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://sell.app/api/v2/products/string/variants/0/deliverable/folders/0' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Design kit"}'
{  "data": {    "id": 302,    "name": "Design kit",    "description": "Files included with your purchase.",    "parent_id": null,    "variant_id": 4321,    "sort_order": 0,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
PUT
/v2/products/{product}/variants/{variant}/deliverable/folders/{folder}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

folder*integer

The deliverable folder identifier.

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

application/json
  1. body
name?string
Lengthlength <= 255
description?|
Lengthlength <= 255
parent_id?|
Range1 <= value
sort_order?integer
Range0 <= value

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/products/string/variants/0/deliverable/folders/0' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Design kit"}'
{  "data": {    "id": 302,    "name": "Design kit",    "description": "Files included with your purchase.",    "parent_id": null,    "variant_id": 4321,    "sort_order": 0,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
DELETE
/v2/products/{product}/variants/{variant}/deliverable/folders/{folder}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

product*string

The product identifier or slug. The product must belong to the authenticated store.

variant*integer

The product variant identifier.

folder*integer

The deliverable folder identifier.

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

Successful response.

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://sell.app/api/v2/products/string/variants/0/deliverable/folders/0' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 302,    "name": "Design kit",    "description": "Files included with your purchase.",    "parent_id": null,    "variant_id": 4321,    "sort_order": 0,    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}
GET
/v2/products/{product}/variants/{variant}/serials

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.

Query Parameters

search?string

Filter inventory by a partial serial value.

Lengthlength <= 2048
limit?integer

Number of inventory entries per page.

Range1 <= value <= 250
Default50
page?integer

Page number to return.

Range1 <= value
Default1

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

A paginated list of unsold serial inventory.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X GET 'https://sell.app/api/v2/products/0/variants/0/serials' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "id": "serial-launch-lab-001",      "serial": "LAUNCH-LAB-DEMO-0001",      "created_at": "2026-09-01T12:00:00Z",      "updated_at": "2026-09-01T12:00:00Z"    }  ],  "links": {    "first": "https://sell.app/api/v2/products/120/variants/4321/serials?page=1",    "last": "https://sell.app/api/v2/products/120/variants/4321/serials?page=1",    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "from": 1,    "last_page": 1,    "links": [      {        "url": null,        "label": "&laquo; Previous",        "active": false      },      {        "url": "https://sell.app/api/v2/products/120/variants/4321/serials?page=1",        "label": "1",        "active": true      },      {        "url": null,        "label": "Next &raquo;",        "active": false      }    ],    "path": "https://sell.app/api/v2/products/120/variants/4321/serials",    "per_page": 15,    "to": 1,    "total": 1  }}
POST
/v2/products/{product}/variants/{variant}/serials

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.

Request Body

application/json
  1. body
serials*array<>

Serial values to append or use as the replacement inventory.

Items1 <= items <= 5000
remove_duplicates?boolean

Remove duplicate values from this submitted payload.

Defaulttrue

Response Body

The serials were appended.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/products/0/variants/0/serials' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "serials": [    "LICENSE-KEY-001",    "LICENSE-KEY-002"  ],  "remove_duplicates": true}'
{  "data": {    "previous_count": 0,    "current_count": 2,    "submitted_count": 2  }}
PUT
/v2/products/{product}/variants/{variant}/serials

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.

Request Body

application/json
  1. body
serials*array<>

Serial values to append or use as the replacement inventory.

Items1 <= items <= 5000
remove_duplicates?boolean

Remove duplicate values from this submitted payload.

Defaulttrue

Response Body

The serial inventory was replaced.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/products/0/variants/0/serials' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "serials": [    "LICENSE-KEY-001",    "LICENSE-KEY-002"  ],  "remove_duplicates": true}'
{  "data": {    "previous_count": 3,    "current_count": 2,    "submitted_count": 2  }}
POST
/v2/products/{product}/variants/{variant}/serials/import

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.

Request Body

multipart/form-data
  1. body
file*file

A text file up to 100 MiB.

Formatbinary
Length1 <= length
parsing_mode*string

How the uploaded file is split into serials. CUSTOM requires custom_delimiter; sending CUSTOM without it fails validation with a 422.

Value in"COMMA""NEW_LINE""SPACE""CUSTOM"
custom_delimiter?|

The delimiter to split on. Required when parsing_mode is CUSTOM (omitting it fails validation with a 422); ignored otherwise.

Lengthlength <= 32
remove_duplicates?boolean
Defaulttrue
mode?string
Default"append"
Value in"append""replace"

Response Body

The serial import was queued.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/products/0/variants/0/serials/import' \  -H 'X-STORE: launch-lab' \  -F 'file=serials.txt' \  -F 'parsing_mode=NEW_LINE' \  -F 'mode=append' \  -F 'remove_duplicates=true'
{  "data": {    "status": "queued",    "tracker_id": "process-serials-123"  }}

Delete a variant serial

DELETE
/v2/products/{product}/variants/{variant}/serials/{serial}

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.

serial*string

The unsold serial entry ULID.

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 deleted serial inventory entry.

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://sell.app/api/v2/products/0/variants/0/serials/string' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": "serial-launch-lab-001",    "serial": "LAUNCH-LAB-DEMO-0001",    "created_at": "2026-09-01T12:00:00Z",    "updated_at": "2026-09-01T12:00:00Z"  }}

On this page