commercetools icon

commercetools

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

Actions671

Cart Discount → Get CartDiscount by Key

AI-generated

Summary

Retrieve a Cart Discount by its unique key from the commercetools platform.

Inputs

  • Cart Discount Key (required) — The unique key identifying the Cart Discount to retrieve.
  • Expand — Optional filter to expand referenced resources in the response.

Output shape

A single JSON object representing the Cart Discount resource matching the specified key.

Returns the full Cart Discount object from commercetools. Supports an optional 'expand' query parameter to include referenced entities. Throws an error if the key does not exist.

Links

Discussion