commercetools icon

commercetools

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

Actions671

Discount-group → Get DiscountGroup by Key

AI-generated

Summary

Retrieve a Discount-group resource from commercetools by its unique key.

Inputs

  • Discount-group Key (required) — The key that uniquely identifies the Discount-group to retrieve.
  • Filters — Optional query parameters to modify the returned Discount-group, such as the 'expand' parameter to include referenced resources.

Output shape

a single Discount-group JSON object representing the resource matching the provided key

The operation returns the full Discount-group resource JSON on success. You can use optional query parameters like 'expand' for controlling response expansion. Errors from the API are surfaced as node execution failures unless 'Continue On Fail' is enabled.

Examples

Example 1: Get a Discount-group by key with no filters

Specify the Discount-group Key parameter with the key of the Discount-group to retrieve.

Example 2: Get a Discount-group by key with expansion

Specify the Discount-group Key parameter and add an 'expand' filter to include referenced resources in the response.

Links

Discussion