commercetools icon

commercetools

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

Actions671

Store Quote Request → Update QuoteRequest in Store by Key

AI-generated

Summary

Update an existing QuoteRequest in a specified Store by its unique key by applying one or more update actions.

Inputs

  • Store Quote Request Key (required) — The unique key of the Store QuoteRequest to update.
  • Store Key (required) — The key identifying the Store where the QuoteRequest exists.
  • Quote Request Key (required) — The unique key of the QuoteRequest within the Store to update.
  • Version (required) — The current version number of the QuoteRequest, used for optimistic concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply, which overrides the UI actions if provided.
  • Actions (UI) — A collection of UI-configured update actions such as changing the customer, quote request state, setting custom fields or types, and state transitions.

Output shape

a single JSON object representing the updated QuoteRequest resource returned from the commercetools API

The output includes the updated QuoteRequest data, reflecting all successful applied actions. The operation requires the current version of the resource and will fail if version mismatches occur. Errors are thrown unless 'continue on fail' is enabled.

Examples

Example 1: Update the quote request state and change the customer of a QuoteRequest in a specified Store

Specify the Store Key, Store Quote Request Key, Quote Request Key, current Version, and define the update actions in the UI (e.g., ChangeCustomer and ChangeQuoteRequestState).

Links

Discussion