commercetools icon

commercetools

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

Actions671

Shipping-method → Get matching ShippingMethods for a Cart

AI-generated

Summary

Retrieve shipping methods that match a specific cart identified by its Cart Id, optionally applying additional query filters like expansion of referenced resources.

Inputs

  • Cart Id (required) — The unique identifier of the cart for which matching shipping methods are requested.
  • Filters — Optional query filters, including 'Expand' to include referenced resources inline in the response.

Output shape

A single JSON object representing the matching shipping methods retrieved from the commercetools API.

The returned data contains the shipping methods matching the specified cart, subject to optional filters applied. The output wraps the API response JSON and does not paginate within this operation.

Examples

Example 1: Retrieve all shipping methods matching cart 'abc123'

Set Cart Id to 'abc123', leave Filters empty.

Links

Discussion