commercetools icon

commercetools

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

Actions671

Product Tailoring → Get ProductTailoring by Key

AI-generated

Summary

Retrieve a product tailoring from commercetools by its unique key.

Inputs

  • Product Tailoring Key (required) — The unique key identifying the product tailoring to retrieve.
  • Filters — Optional filters for the request, including an 'expand' parameter to control related resource expansion.

Output shape

a single JSON object representing the product tailoring resource.

Returns the product tailoring matching the specified key; if not found, an error is thrown. The 'expand' filter can be used to include related references inline.

Examples

Example 1: Fetch a product tailoring with key "tailoring-123" including expanded variants.

Set 'Product Tailoring Key' to 'tailoring-123' and add an 'expand' filter with desired expansion paths.

Links

Discussion