commercetools icon

commercetools

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

Actions671

Store Shopping List → Update ShoppingList in Store by ID

AI-generated

Summary

Update a specific shopping list in a given store by its ID and store key, applying the provided version and set of update actions.

Inputs

  • Store Key (required) — The key identifying the store containing the shopping list to update.
  • Shopping List ID (required) — The unique identifier of the shopping list to update within the specified store.
  • Version (required) — The current version number of the shopping list resource, used for concurrency control.
  • Actions (JSON) — A JSON array of update actions to apply to the shopping list. If provided and not empty, this raw JSON overrides the UI-based action inputs.

Output shape

a single JSON object representing the updated shopping list resource returned from the commercetools API.

The output includes all fields of the updated shopping list as returned by the commercetools API. If the update fails, an error is thrown unless 'continue on fail' is enabled.

Links

Discussion