propose_write
theme

Propose one step of the store launch as an approval card: build_dna, run_module (with module), advance or verify_module

Changed on

Propose one step of the store launch as an approval card: build_dna, run_module (with module), advance or verify_module (with module), verify_all, audit_catalogue, override_audit (item_ids, verdict, note), activate_catalogue, apply_offer, confirm_go_live, go_live, undo (optionally module and key), cancel_launch (keep_changes), purge (purge.dry_run_id: the id of the purge dry run), create_campaign or enable_campaign (channel), review_catalogue (item_ids of staged products from the catalogue review, decision approved or rejected; approving creates Shopify drafts, activate_catalogue publishes them; a rejection is final over the API), undo_catalogue_pick (item_ids of approved picks; archives their products), rollback (scope content or catalog; read the rollback preview first; the theme is rolled back in Magistry). A step that spends money, creates an account, publishes, goes live or undoes work always waits for the merchant's press in Magistry, whatever this connection is allowed; other steps wait unless the connection may change the live storefront. The launch copilot's autonomy setting does not apply to this connection.

post/api/v1/tools/launch_step_propose

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopestheme:write

Headers

Idempotency-Key, string

Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.

Request body

object required
op, 'build_dna' | 'run_module' | 'advance' | 'verify_module' | 'verify_all' | 'activate_catalogue' | 'confirm_go_live' | 'go_live' | 'audit_catalogue' | 'override_audit' | 'apply_offer' | 'undo' | 'cancel_launch' | 'purge' | 'create_campaign' | 'enable_campaign' | 'review_catalogue' | 'undo_catalogue_pick' | 'rollback' required
module, 'infra' | 'storefront' | 'trust' | 'catalog' | 'feed' | 'content' | 'theme' | 'analytics' | 'launch'
key, string
keep_changes, boolean
purge, object
item_ids, string[]
verdict, 'keep' | 'rename' | 'exclude_feed' | 'unpublish'
note, string
channel, 'google' | 'meta' | 'tiktok' | 'pinterest' | 'microsoft'
decision, 'approved' | 'rejected'
scope, 'content' | 'catalog'
summary, string
idempotency_key, string required

Required. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision