commercetools icon

commercetools

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

Actions671

Shipping-method → Get matching ShippingMethods for an OrderEdit

AI-generated

Summary

Retrieve shipping methods matching an OrderEdit by providing the Order Edit ID, country, and optional state filter.

Inputs

  • Order Edit Id (required) — The unique identifier for the OrderEdit to find matching shipping methods.
  • Country (required) — The country code to filter shipping methods applicable to this location.
  • Filters — Optional filters to narrow down shipping methods, such as 'state' representing the shipping state.

Output shape

a single JSON object representing the matching shipping methods for the specified OrderEdit and country, optionally filtered by state.

The operation returns JSON data fetched via the commercetools API, containing matching shipping methods. Errors will be thrown on failure unless 'Continue On Fail' is enabled.

Examples

Example 1: Get matching shipping methods for an OrderEdit in the US with no state filter

Set 'Order Edit Id' to the target edit ID and 'Country' to 'US', leaving filters empty.

Links

Discussion