commercetools icon

commercetools

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

Actions671

Product-type → Get ProductType by Key

AI-generated

Summary

Retrieve a ProductType from commercetools by specifying its unique key.

Inputs

  • Product-type Key (required) — The unique key that identifies the ProductType to retrieve.
  • Filters — Optional filters for the request, including the 'Expand' parameter to expand reference objects in the response.

Output shape

a single JSON object representing the requested ProductType

Returns the full ProductType object matching the provided key, optionally including expanded references if 'Expand' is used. Throws an error if the ProductType with the specified key does not exist.

Links

Discussion