commercetools icon

commercetools

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

Actions671

Store Shopping List → Create ShoppingList in Store

AI-generated

Summary

Create a new shopping list in a specified commercetools store using the given store and shopping list keys along with detailed attributes.

Inputs

  • Store Shopping List Key (required) — Unique key identifying the shopping list to create in the store.
  • Store Key (required) — Unique key identifying the target store where the shopping list will be created.
  • Name (required) — Localized JSON object specifying the name of the shopping list (e.g., { "en": "My List" }).
  • Slug (required) — Localized JSON object specifying the slug identifier for the shopping list (e.g., { "en": "my-list" }).
  • Key (required) — Unique key for the shopping list entity.
  • Delete Days After Last Modification (required) — Number of days after the last modification when the shopping list should be deleted.
  • Line Items (required) — JSON array of line item objects to include in the shopping list at creation.
  • Text Line Items (required) — JSON array of text line items to include in the shopping list.
  • Customer › Type Id — Optional type identifier string for the associated customer.
  • Customer › Id — Optional identifier string for the associated customer.
  • Business Unit › Key — Optional key string identifying the associated business unit.
  • Business Unit › Type Id — Optional type identifier string for the associated business unit.

Output shape

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

The output contains the full details of the created shopping list as returned by the API, including all specified fields and any default or generated properties. Errors during creation will cause the node to error unless 'continue on fail' is enabled, in which case an error object is returned per item.

Links

Discussion