commercetools icon

commercetools

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

Actions671

Business Unit → Get BusinessUnit by Key

AI-generated

Summary

Retrieve a Business Unit from commercetools by its unique key.

Inputs

  • Business Unit Key (required) — The unique key identifying the Business Unit to retrieve.
  • Filters — Optional query filters such as 'expand' to include related resources in the response.

Output shape

A single Business Unit record in JSON format, if found.

Supports applying query parameters like 'expand' to control the response content. Returns the Business Unit details as JSON. Fails if the key does not exist unless error handling is enabled.

Examples

Example 1: Fetch Business Unit by key with no filters

Set 'Business Unit Key' to the desired key; leave Filters empty.

Example 2: Fetch Business Unit by key with expand filter

Set 'Business Unit Key' and under Filters set 'expand' to include related objects in response.

Links

Discussion