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 ID

AI-generated

Summary

Retrieve a specific approval rule within a business unit by its unique ID, specifying the associate and approval rule key to identify the context.

Inputs

  • Approval Rule ID (required) — The unique identifier of the approval rule to retrieve.
  • Approval Rule Key (required) — The key of the approval rule associated with the business unit.
  • Associate ID (required) — The identifier of the associate within the business unit performing the retrieval.
  • Filters — Optional query parameters to customize the response; supports an 'expand' parameter to include referenced resources.

Output shape

a single JSON object representing the requested approval rule.

If the specified approval rule or context does not exist, an error is thrown unless the node is set to continue on fail. The 'expand' filter can be used to include related entities inline in the response.

Links

Discussion