commercetools icon

commercetools

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

Actions671

Approval Rule → Get ApprovalRule in BusinessUnit by Key

AI-generated

Summary

Retrieve an approval rule within a specified business unit associated with an associate by its unique key.

Inputs

  • Approval Rule Key (required) — The unique key of the approval rule to retrieve.
  • Associate ID (required) — The ID of the associate within the business unit that the approval rule belongs to.
  • Approval Rule Key (tertiaryKey) (required) — The key of the approval rule used for lookup within the associate's business unit.
  • Filters — Optional query parameters for filtering response, e.g. 'Expand' to include referenced resources.

Output shape

a single approval rule object in JSON format, as returned by the commercetools API

The returned data represents the requested approval rule identified by key within the specified associate's business unit. Optional expansions can be applied using the Filters input to include related resource details.

Examples

Example 1: Fetch the approval rule with key 'my-approval-key' for associate ID 'associate-123' in a business unit.

Set 'Approval Rule Key' inputs to 'my-approval-key', set 'Associate ID' to 'associate-123', and provide the same key as 'tertiaryKey'. Optionally add expansions in Filters.

Links

Discussion