commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Staged-quote → Update StagedQuote by Key

AI-generated

Summary

Update a staged quote in commercetools by specifying its unique key and current version, applying one or more update actions to modify its attributes.

Inputs

  • Staged-quote Key (required) — Specify the unique key identifying the staged quote to update.
  • Version (required) — Provide the current version number of the staged quote for concurrency control.
  • Actions (JSON) — Provide a raw JSON array of update actions to perform on the staged quote, which overrides the UI-defined actions if given.
  • Actions (UI) — Define one or multiple update actions via the UI including changing staged quote state, setting custom fields/types, adding seller comments, setting validity date, or transitioning state.

Output shape

a single record representing the updated staged quote object, returned as JSON.

Requires specifying the correct version to avoid update conflicts. Either 'Actions (JSON)' or 'Actions (UI)' must be provided to define the update operations.

Examples

Example 1: Update a staged quote's state by key

Provide the staged quote key and version, select the 'ChangeStagedQuoteState' action in the UI, and specify the new state.

Links

Discussion