commercetools icon

commercetools

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

Actions671

Store Cart Discount → Get CartDiscount in Store by ID

AI-generated

Summary

Retrieve a specific cart discount within a given store by its unique Cart Discount ID.

Inputs

  • Cart Discount ID (required) — The unique identifier of the cart discount to retrieve.
  • Store Key (required) — The key of the store where the cart discount is defined.
  • Filters — Optional filters, such as 'expand', to include related resources in the response.

Output shape

a single cart discount record as JSON

The output contains detailed information about the cart discount identified by the given ID in the specified store. Optional query parameters can expand related data. Errors are thrown if the cart discount does not exist or other issues occur.

Links

Discussion