commercetools icon

commercetools

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

Actions671

Associate Shopping List → Update ShoppingList in BusinessUnit by ID as Associate

AI-generated

Summary

Update a shopping list in a specified commercetools Business Unit by its ID as an associate, applying versioning and update actions to modify the shopping list.

Inputs

  • Shopping List ID (required) — The unique identifier of the shopping list to update.
  • Associate ID (required) — The ID of the associate performing the update within the Business Unit.
  • Version (required) — The current version of the shopping list, required for concurrency control.
  • Actions (JSON) — Raw JSON array of update actions to apply to the shopping list; overrides any UI-defined actions if provided.

Output shape

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

The operation returns the updated ShoppingList object. It requires correct versioning to prevent conflicts and accepts a JSON array of actions which modify the shopping list attributes. Errors will be thrown if update fails.

Links

Discussion