commercetools icon

commercetools

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

Actions671

Store Shipping Method → Get matching ShippingMethods for a Cart in a Store

AI-generated

Summary

Retrieve all shipping methods that match the specified cart within a given store in commercetools.

Inputs

  • Store Shipping Method Key (required) — The unique key identifying the store shipping method resource.
  • Store Key (required) — The unique key identifying the store in which to get matching shipping methods.
  • Cart Id (required) — The ID of the cart for which matching shipping methods should be found.
  • Filters — Optional query parameters to customize the request, such as 'expand' to control the response's expansion of references.

Output shape

a single JSON object containing the list of shipping methods matching the specified cart in the given store

The operation returns the commercetools API response as a JSON object. Optional filters can be included in the query parameters, such as 'expand'. Errors are returned as an error message object if the request fails and 'Continue On Fail' is enabled.

Examples

Example 1: Find shipping methods matching a specific cart in a store by providing the store shipping method key, store key, and cart ID, optionally adding query filters to expand related references in the response.

Set required parameters: Store Shipping Method Key, Store Key, Cart Id; optionally set Filters such as 'expand' to customize the response.

Links

Discussion