commercetools icon

commercetools

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

Actions671

Shipping-method → Delete ShippingMethod by ID

AI-generated

Summary

Delete a shipping method in commercetools by specifying its unique Shipping-method ID and version number.

Inputs

  • Shipping-method ID (required) — The unique identifier of the shipping method to delete.
  • Version (required) — The current version number of the shipping method, used for concurrency control during deletion.

Output shape

a single JSON object with the API response confirming deletion or containing error details

Requires correct Shipping-method ID and version; failure returns an error object. The response is the raw API deletion result.

Links

Discussion