commercetools icon

commercetools

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

Actions671

Zone → Delete Zone by Key

AI-generated

Summary

Delete a commercetools Zone resource identified by its unique Zone Key and specific Version number.

Inputs

  • Zone Key (required) — The unique string identifier key of the Zone to delete.
  • Version (required) — The current version number of the Zone resource to ensure concurrency control during deletion.

Output shape

A single JSON object representing the deleted Zone resource as returned by the commercetools API.

The operation requires the correct version number for successful deletion to handle optimistic concurrency. An error will be thrown if the Zone Key does not exist or version mismatches. The output includes the full deleted resource data as obtained from the commercetools DELETE API response.

Examples

Example 1: Delete a Zone using its key and current version number

Specify the Zone Key (string) and Version (number) in the node parameters to execute the deletion.

Links

Discussion