commercetools icon

commercetools

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

Actions671

Business Unit → Get BusinessUnit by ID

AI-generated

Summary

Retrieve a Business Unit by its unique ID from the commercetools platform, optionally expanding related references.

Inputs

  • Business Unit ID (required) — The unique identifier of the Business Unit to retrieve.
  • Filters — Optional filters for the request, currently supporting 'Expand' to include referenced resources in the response.

Output shape

A single JSON object representing the retrieved Business Unit details.

The output contains the full JSON response of the Business Unit. If the Business Unit ID does not exist or an error occurs, an error is thrown unless 'Continue On Fail' is enabled, in which case an error object is returned. The optional 'Expand' filter allows expanding nested references in the response.

Examples

Example 1: Retrieve Business Unit with ID '12345' including expanded references

Business Unit ID set to '12345', Filters with 'Expand' parameter set to desired expansion path.

Links

Discussion