commercetools icon

commercetools

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

Actions671

Cart → Get Cart by Customer ID

AI-generated

Summary

Retrieve the active cart associated with a specified customer ID from commercetools.

Inputs

  • Customer ID (required) — The unique identifier of the customer whose cart you want to fetch.

Output shape

a single JSON object representing the customer's active cart

Returns the cart data if found. Throws an error if the customer or cart does not exist unless the node is configured to continue on failure.

Links

Discussion