Copy Catalog To Live
Copies one test product (its settings and the selected plans with all their prices) to live. Live mode only; requires catalog:publish. dry_run (default true) previews and writes nothing. Execute answers 202 preparing while the payment processor creates missing identities, or 200 published. Cookie members supply Hms-Company and Hms-Livemode and omit Idempotency-Key; bearer callers supply it.
/catalog/copy_to_liveCopies one test product (its settings and the selected plans with all their prices) to live. Live mode only; requires catalog:publish. dry_run (default true) previews and writes nothing. Execute answers 202 preparing while the payment processor creates missing identities, or 200 published. Cookie members supply Hms-Company and Hms-Livemode and omit Idempotency-Key; bearer callers supply it.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/catalog/copy_to_live" \ -H "Content-Type: application/json" \ -d '{ "product": "string", "include": { "settings": true, "plans": [ "string" ] } }'{ "data": { "publication": "5ea4c50e-bd24-4e9b-b29d-17418eaef8be", "status": "preview", "preview_hash": "string", "live_exists": true, "selectable": { "settings": { "differs": true, "forced": true }, "plans": [ { "ref": "string", "name": "string", "differs": true, "live_exists": true } ] }, "changes": [ { "table": "string", "id": "string", "ref": "string", "action": "string" } ], "blocked": [ { "path": [ "string" ], "rule": "string", "ref": "string" } ], "not_tried": [ "string" ], "failure": { "rule": "string" }, "operation": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "string" } }, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"}Confirm a previewed price migration POST
People only (keys 403 person_required, agents 403 agent_not_available), catalog:publish. Locks the run; refuses a run that is not a live preview (409 price_migration_not_preview), a target price that is not active (409 target_price_not_active) and prices whose shapes now differ (422 price_shape_unsupported). Confirmation is not yet available: every other request is refused 409 price_migration_unavailable before any write. Once enabled, it records a price_migration operation and moves the run to confirmed.
Create Account Session POST
Next Page