commercetools icon

commercetools

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

Actions671

Discount-group → Get DiscountGroup by ID

AI-generated

Summary

Retrieve a DiscountGroup by its ID from the commercetools platform.

Inputs

  • Discount-group ID (required) — Specifies the unique identifier of the DiscountGroup to retrieve.
  • Filters — Optional filters to modify the response, including the ability to specify 'expand' to expand referenced objects in the response.

Output shape

A single JSON object representing the DiscountGroup with the specified ID.

The returned JSON object contains the full DiscountGroup details as returned by the commercetools API. Optional query parameters like 'expand' can alter the response shape by including expanded referenced resources.

Examples

Example 1: Fetch the DiscountGroup details by its ID

Set the resource to 'Discount-group', operation to 'Get DiscountGroup by ID', and provide the target Discount-group ID string.

Links

Discussion