Back to Tool Reference
MCP

listing.publish

Publish a draft listing to its sales channel.

Effectoverwrites or deletesReachesoutside VaybelScopelisting:writePlanStarter+Rate limit5/minIdempotent

A TikTok Shop listing needs a warehouse first: assign one with listing.update, using a warehouse_id from listing.list_warehouses. Publishing without one fails and says so. An Etsy or Shopify listing must be in DRAFT status. Poll listing.get_generation with the returned handle.

Parameters

listing_idstringRequired

Parent listing UUID.

idempotency_keystring

Send the same key when retrying this exact call. A completed request replays for 24 hours without running or billing again.

callback_urlstring

An https URL that receives a signed completion event when the work finishes, so you can skip polling. See Webhooks.

Returns

handlestring

Opaque async handle. Pass to listing.get_generation.

status"pending"
channelstring
task_type"publish_listing_draft"
messagestring

Describes the listing.get_generation(..., wait_sec=...) contract.

Request
json
{
  "name": "listing.publish",
  "arguments": {
    "listing_id": "3b7d1f95-a2c4-4e68-8b0d-4f6a8c2e0b71"
  }
}
Response
json
{
  "handle": "e0e47d9a-ce56-49e2-abda-b82129d43515",
  "status": "pending",
  "channel": "etsy",
  "category": "listing",
  "task_type": "publish_listing_draft",
  "message": "Listing publish queued. Call listing.get_generation(handle, wait_sec=0) for an instant snapshot, or set wait_sec>0 to long-poll until completion or timeout."
}