commercetools icon

commercetools

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

Actions671

Cart → Get Cart by Key

AI-generated

Summary

Retrieve a commercetools cart by its unique cart key, optionally applying API query filters such as expansions.

Inputs

  • Cart Key (required) — The unique key that identifies the cart to retrieve.
  • Filters — Optional query parameters to customize the response, including the 'expand' parameter to fetch referenced objects.

Output shape

a single record representing the cart object as returned by the commercetools API

The operation returns the full cart data in JSON format. If the cart with the specified key does not exist, the HTTP request will fail and an error will be thrown or returned as per the node's error handling settings.

Links

Discussion