commercetools icon

commercetools

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

Actions671

Product-discount → Get ProductDiscount by ID

AI-generated

Summary

Retrieve a single Product-discount entity from commercetools by its unique ID.

Inputs

  • Product-discount ID (required) — The unique identifier of the Product-discount to retrieve; this is a required field.
  • Filters — Optional collection of query parameters to modify the response, such as the 'expand' parameter to fetch referenced entities in expanded form.

Output shape

a single JSON object representing the Product-discount resource as returned by the commercetools API

The operation returns the full data of the requested Product-discount if found. If not found or an error occurs, an error is raised unless 'Continue On Fail' is enabled, in which case an error JSON is outputted for that item.

Links

Discussion