commercetools icon

commercetools

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

Actions671

Shipping-method → Delete ShippingMethod by Key

AI-generated

Summary

Delete a shipping method in commercetools identified by its key and version number.

Inputs

  • Shipping-method Key (required) — The unique key that identifies the shipping method to delete.
  • Version (required) — The current version of the shipping method resource for optimistic concurrency control; must be provided to delete.

Output shape

a single JSON object representing the deleted shipping method as returned by the commercetools API

The operation makes a DELETE HTTP request and returns the deleted shipping method object. An error is thrown if the shipping method key does not exist or the version is incorrect.

Links

Discussion