commercetools icon

commercetools

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

Actions671

Associate Shopping List → Get ShoppingList in BusinessUnit by Key as Associate

AI-generated

Summary

Retrieve a shopping list in a specified business unit by its key as an associate user.

Inputs

  • Associate Shopping List Key (required) — The key of the business unit containing the shopping list.
  • Associate ID (required) — Identifier of the associate on behalf of whom the shopping list is retrieved.
  • Shopping List Key (required) — The key of the shopping list to retrieve.
  • Filters — Optional filters such as 'expand' to customize the data returned by the API.

Output shape

a single JSON object containing the full shopping list data from the specified business unit, as returned by the commercetools API.

The response includes all details of the shopping list identified by the provided key within the business unit associated with the given associate ID. Optional 'expand' query parameters may modify included references. Errors are returned if the shopping list does not exist or access is denied.

Examples

Example 1: Get a shopping list with key 'list-123' in business unit 'unit-abc' for associate 'associate-xyz' to process or inspect its contents in a workflow.

Set 'Associate Shopping List Key' as 'unit-abc', 'Associate ID' as 'associate-xyz', and 'Shopping List Key' as 'list-123'. Optionally add 'expand' filters for additional referenced data in the response.

Links

Discussion