commercetools icon

commercetools

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

Actions671

Product Tailoring → Get ProductTailoring by ID

AI-generated

Summary

Retrieve a specific Product Tailoring object from the commercetools platform by its unique ID, optionally expanding referenced objects.

Inputs

  • Product Tailoring ID (required) — Unique identifier of the Product Tailoring to retrieve.
  • Filters — Optional filters to customize the returned data, such as the 'Expand' parameter to include expanded references.

Output shape

a single Product Tailoring object as JSON

The returned JSON represents the full details of the Product Tailoring identified by the given ID. If the 'Expand' filter is used, referenced objects are expanded accordingly. Errors are surfaced if the ID is invalid or not found.

Examples

Example 1: Retrieve a Product Tailoring by ID without expansions

Set the 'Product Tailoring ID' to the desired ID; leave filters empty.

Example 2: Retrieve a Product Tailoring by ID with expanded references

Set the 'Product Tailoring ID' and set the 'Expand' filter to specify related resources to expand in the response.

Links

Discussion