commercetools icon

commercetools

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

Actions671

Associate Shopping List → Check if ShoppingList exists in BusinessUnit by ID as Associate

AI-generated

Summary

Check whether a shopping list with a specified ID exists within a given business unit as a particular associate.

Inputs

  • Shopping List ID (required) — The unique identifier of the shopping list to check for existence in the business unit.
  • Associate ID (required) — The identifier of the associate on whose behalf the check is performed.

Output shape

a single JSON object indicating existence

Returns an object with fields 'exists' (boolean), 'statusCode' (HTTP status code), and 'url' (the API endpoint queried). If the shopping list exists, 'exists' is true with a 200 status; if not, 'exists' is false with a 404 status. Other HTTP errors will throw exceptions.

Links

Discussion