commercetools icon

commercetools

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

Actions671

Quote → Update Quote by Key

AI-generated

Summary

Update a Quote identified by its unique key with specified version and update actions in commercetools.

Inputs

  • Quote Key (required) — The unique key that identifies the Quote to update.
  • Version (required) — The current version number of the Quote; used to ensure concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply to the Quote; if provided and not empty, it overrides the UI-based actions.
  • Actions (UI) — One or more update actions selectable via UI, including changing the customer, changing the quote state, requesting renegotiation, setting custom fields or types, and transitioning state.

Output shape

A single JSON object representing the updated Quote resource returned by the commercetools API.

The node returns the updated Quote JSON on success or an error message on failure. The update requires specifying the current Quote version to avoid conflicts. Either 'Actions (JSON)' or 'Actions (UI)' must be provided; if 'Actions (JSON)' is non-empty, it takes precedence over 'Actions (UI)'.

Links

Discussion