commercetools icon

commercetools

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

Actions671

Shopping-list → Update ShoppingList by Key

AI-generated

Summary

Update an existing shopping list in commercetools by specifying its unique key and version, applying one or more update actions to modify its properties.

Inputs

  • Shopping-list Key (required) — The unique key identifying the shopping list to update.
  • Version (required) — The current version number of the shopping list to ensure update concurrency.
  • Actions (JSON) — A raw JSON array of update actions to apply to the shopping list. When provided and not empty, this overrides the Actions (UI) field.
  • Actions (UI) — A collection of individual update actions defined through the user interface, such as adding or removing line items, changing quantities, setting custom fields, etc. Used if Actions (JSON) is empty.

Output shape

a single JSON object representing the updated shopping list as returned by the commercetools API

The returned data reflects the shopping list state after applying the update actions. The operation requires valid credentials with permission to update shopping lists. Update actions must conform to commercetools API schema.

Links

Discussion