commercetools icon

commercetools

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

Actions671

Shopping-list → Delete ShoppingList by Key

AI-generated

Summary

Delete a commercetools Shopping-list identified by its unique key and a required version number.

Inputs

  • Shopping-list Key (required) — The unique key identifying the Shopping-list to delete.
  • Version (required) — The version number of the Shopping-list to assert for concurrency control during deletion.

Output shape

a single JSON object representing the result of the deletion request

The operation returns a JSON response from the commercetools API confirming deletion or describing any errors. The version parameter is required to prevent conflicting deletions.

Examples

Example 1: Deleting a Shopping-list with key 'list-123' at version 3

Set 'Shopping-list Key' to 'list-123' and 'Version' to 3. Upon execution, the node sends a DELETE request to commercetools to remove that Shopping-list if the version matches.

Links

Discussion