commercetools icon

commercetools

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

Actions671

Shopping-list → Check if ShoppingList exists by Key

AI-generated

Summary

Check if a Shopping-list exists in commercetools by its unique key using a HEAD request.

Inputs

  • Shopping-list Key (required) — The unique key of the Shopping-list to check for existence.

Output shape

a single JSON object confirming existence status

Returns an object with 'exists' (boolean), 'statusCode' (HTTP status), and 'url' (endpoint checked). If the Shopping-list exists, 'exists' is true and statusCode is 200; if not found, 'exists' is false and statusCode is 404. Other errors throw exceptions.

Links

Discussion