Skip to Content
API ReferenceProduct Variants

Publish a booking option

Publish one draft option of a booking product.

Publish one draft option of a booking product so customers can book it. Variants of other products are published together with their product through Publish a product.

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

Publish one draft option of a booking product so customers can book it. It is checked the way the booking editor checks it: a title, a description of at least 5 characters, finished booking settings, a price, and payment methods enabled for the store that can take its currency. On a published booking product the option can be booked straight away; a draft booking product still needs POST /v2/products/{product}/publish, which needs at least one published option when the product has several. Only booking options are published one at a time. A variant of any other kind of product returns 422 on variant: its variants are published with the product through POST /v2/products/{product}/publish. Requires the listing API-key ability and the listing permission in your team role. Safe to repeat: once the option is published, another call changes nothing and returns 422 with This booking option is already published. on variant. Every other refusal is also 422 on variant, with one sentence per thing the option still needs. A variant of another product, or a product of another store, 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 published booking option. The example is abbreviated: it leaves out the option's schedule in deliverable.data.booking.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/products/11/variants/12/publish' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 12,    "product_id": 11,    "title": "30 minute call",    "description": "A short intro call to plan your launch.",    "deliverable": {      "data": {        "removeDuplicate": false,        "parsingMode": "COMMA",        "stock": null      },      "types": [        "BOOKING"      ]    },    "pricing": {      "humble": false,      "frequency": {        "value": 1,        "interval": "MONTH"      },      "type": "SINGLE_PAYMENT",      "price": {        "price": "1500",        "currency": "USD"      }    },    "minimum_purchase_quantity": 1,    "maximum_purchase_quantity": null,    "bulk_discount": [],    "payment_methods": [      "STRIPE"    ],    "other_settings": {      "quantity_increments": 1,      "discord_data_required": false    },    "order": 1,    "created_at": "2026-07-01T14:20:00.000000Z",    "updated_at": "2026-07-03T09:12:00.000000Z",    "deleted_at": null,    "product": {      "additional_information": []    },    "is_draft": false  }}