commercetools icon

commercetools

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

Actions671

Shipping-method → Get ShippingMethod by Key

AI-generated

Summary

Retrieve detailed information about a commercetools ShippingMethod identified by its unique key within a specified project.

Inputs

  • Shipping-method Key (required) — The unique key of the ShippingMethod to fetch.
  • Filters — Optional filters such as 'Expand' to include related resources in the response.

Output shape

a single JSON object representing the ShippingMethod resource

Includes optional expansions if specified in filters. An error is thrown if the ShippingMethod does not exist or cannot be retrieved.

Examples

Example 1: Retrieve a ShippingMethod by its key to use its details in shipping calculations or workflow decisions.

Set 'Shipping-method Key' to the target ShippingMethod key, optionally provide 'Expand' filter to fetch referenced resources.

Links

Discussion