commercetools icon

commercetools

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

Actions671

Shopping-list → Get ShoppingList by ID

AI-generated

Summary

Retrieve a Shopping-list by its unique Shopping-list ID from the commercetools platform.

Inputs

  • Shopping-list ID (required) — The unique identifier of the Shopping-list to retrieve.
  • Filters — Optional filters including 'Expand' to control which references should be expanded in the response.

Output shape

a single JSON object representing the Shopping-list resource retrieved from commercetools.

Supports optional query parameters for expansion. The operation returns an error if the Shopping-list ID does not exist or request fails.

Examples

Example 1: Get Shopping-list with ID '12345'

Set 'Shopping-list ID' to '12345' and leave Filters empty.

Example 2: Get Shopping-list with expanded references

Set 'Shopping-list ID' and use Filters 'Expand' field to specify references to expand in the response.

Links

Discussion