commercetools icon

commercetools

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

Actions671

Message → Get Message by ID

AI-generated

Summary

Retrieve a specific commercetools Message resource by its unique Message ID, optionally expanding referenced fields.

Inputs

  • Message ID (required) — The unique identifier of the Message to retrieve.
  • Expand — Optional query parameter to expand referenced fields in the returned Message.

Output shape

a single JSON object representing the requested Message resource from commercetools API

Returns one Message object matching the provided Message ID. Supports optional expansion of referenced fields via the 'Expand' query parameter. Errors during retrieval are thrown unless configured to continue on failure.

Examples

Example 1: Retrieve a Message by ID with expanded referenced fields

Set 'Message ID' to the target message ID and optionally specify 'Expand' to include additional referenced resource details.

Links

Discussion