Skip to main content
POST
Create Republish Batch From Variants

Headers

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

Cookies

stytch_session
string | null

Body

application/json

Convenience body for the product-page "Republish selected to…" action: create a draft republish batch AND seed its referenced_record_keys from the selected variants in one round-trip. Saves the UI from chaining create → add-by-variants.

name
string
required

Human-readable batch name

target_key
string
required

e.g. 'vtex_pricing'

variant_keys
string[]
required
Minimum array length: 1
description
string | null
effective_date
string<date-time> | null
price_types
string[] | null
target_env
string | null

e.g. 'qa' / 'prod'

Response

Successful Response