commercetools icon

commercetools

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

Actions671

Associate-role → Get AssociateRole by ID

AI-generated

Summary

Retrieve a specific Associate-role by its unique ID from the commercetools API.

Inputs

  • Associate-role ID (required) — The unique identifier of the Associate-role to retrieve.
  • Filters — Optional query parameters to modify the response, including the ability to specify 'expand' to include additional related resources in the response.

Output shape

a single JSON object representing the Associate-role.

The operation returns the full Associate-role object as JSON. Optional 'expand' filters can be applied to include related resources. If the Associate-role with the specified ID does not exist, an error will be raised unless continueOnFail is activated.

Examples

Example 1: Fetching the Associate-role with ID 'abc123', optionally expanding related references to include full details inline.

Must provide the Associate-role ID as a required string parameter. Optionally, an 'expand' filter may be added to include related details in the response.

Links

Discussion