Skip to main content
POST
Publish Batch Now

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required

Cookies

stytch_session
string | null

Body

application/json

Body for POST /batches/{key}/publish-now.

ignore_effective_date force-publishes a batch whose effective date is still in the future — reviewers previewing next month's prices on a staging target, or an emergency reprice. The batch's effective_date is NOT changed. Because the batch lands in publishing_status="published", the 60-second scheduler will not publish it again on that date (claim_ready_batches claims only missing/None/ready/failed), so an early publish CONSUMES the scheduled one. Re-ship with the Republish action.

Every other guard still applies: a targetless batch is refused, and an unpublished catalog-batch dependency still blocks.

ignore_effective_date
boolean
default:false

Response

Successful Response