commercetools icon

commercetools

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

Actions671

Recurrence-policy → Get RecurrencePolicy by Key

AI-generated

Summary

Retrieve a commercetools RecurrencePolicy by its unique key, optionally applying additional query filters such as expansions.

Inputs

  • Recurrence-policy Key (required) — The unique key identifier of the RecurrencePolicy to retrieve.
  • Filters — Optional query parameters to refine the request, including 'expand' to control which related resources should be expanded in the response.

Output shape

a single JSON object representing the RecurrencePolicy resource retrieved from commercetools.

Returns the JSON representation of the RecurrencePolicy identified by the given key. Supports optional query filters like 'expand'. Errors are reported if the resource cannot be found or request fails.

Examples

Example 1: Retrieve a recurrence policy by its key with expansions

Set 'Recurrence-policy Key' to the target key and add an 'expand' filter if needed to include related entities.

Links

Discussion