Create Batch
Create a new price batch.
Cookies
Body
Request body for creating a price batch.
source_type defaults to "new_prices" (the legacy behavior
where records are CREATED by the batch through the proposals flow
or the per-product Create-new-price dialog). Pass "republish"
to create a batch that REFERENCES existing price records via
referenced_record_keys — the worker fan-out reads via
resolve_dispatch_records so the same NATS payload flows
downstream regardless of source type.
target_key / target_env are required at approve time for
republish batches (catch surfaced as 400 Bad Request); they
can be left blank on draft creation and edited later.
Response
Successful Response