commercetools icon

commercetools

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

Actions671

Associate Quote Request → Update QuoteRequest in BusinessUnit by ID as Associate

AI-generated

Summary

Update an existing QuoteRequest in a specified BusinessUnit by its ID, authenticated as an Associate in commercetools.

Inputs

  • Quote Request ID (required) — The ID of the QuoteRequest to update.
  • Associate ID (required) — The ID of the Associate performing the update.
  • Version (required) — The current version number of the QuoteRequest for optimistic concurrency control.
  • Actions (UI) — A list of specific update actions to apply to the QuoteRequest, selectable through the user interface, such as changing the customer, quote request state, setting custom fields, or transitioning state.
  • Actions (JSON) — A raw JSON array of update actions to apply to the QuoteRequest, which overrides the Actions (UI) field if provided.

Output shape

a single JSON object representing the updated QuoteRequest resource.

Requires valid Associate credentials with permission to update the specified QuoteRequest. The request must include the current version for concurrency. Update actions follow commercetools standards and can be specified via UI or raw JSON. Errors such as version mismatch or invalid actions will be returned as node errors unless continueOnFail is enabled.

Examples

Example 1: Update the state of a QuoteRequest with ID 'abc123' as an Associate with ID 'assoc456'.

Set 'Quote Request ID' to 'abc123', 'Associate ID' to 'assoc456', 'Version' to the QuoteRequest's current version (e.g., 2), and use the Actions (UI) to add a 'ChangeQuoteRequestState' action with the desired state.

Links

Discussion