commercetools icon

commercetools

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

Actions671

Associate Shopping List → Create ShoppingList in BusinessUnit as Associate

AI-generated

Summary

Create a new shopping list in a specified business unit on behalf of an associate using their associate ID. Provide required keys, names, slugs, and optional details including customer info, line items, and retention settings.

Inputs

  • Associate Shopping List Key (required) — Unique key identifying the shopping list to create.
  • Associate ID (required) — ID of the associate on behalf of whom the shopping list is created.
  • Name (required) — Localized name of the shopping list as JSON object with language codes as keys.
  • Slug (required) — Localized slug of the shopping list as JSON object with language codes as keys.
  • Customer › Type Id — Type ID of the customer associated with the shopping list, if applicable.
  • Customer › Id — ID of the customer associated with the shopping list, if applicable.
  • Key (required) — Unique key (string) to identify the shopping list.
  • Delete Days After Last Modification (required) — Number of days after last modification to auto-delete the shopping list.
  • Line Items (required) — Array JSON defining the line items included in the shopping list.
  • Text Line Items (required) — Array JSON defining any text line items included in the shopping list.
  • Business Unit › Key — Key identifying the business unit in which to create the shopping list.
  • Business Unit › Type Id — Type ID of the business unit in which to create the shopping list.

Output shape

a single record containing the newly created shopping list object as returned by the commercetools API

The output contains the full shopping list data created under the specified business unit and associate context. Errors during creation are handled according to the node's error handling settings.

Links

Discussion