commercetools icon

commercetools

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

Actions671

Inventory → Get InventoryEntry by Key

AI-generated

Summary

Retrieve a single InventoryEntry from commercetools by its unique inventory key.

Inputs

  • Inventory Key (required) — The unique key identifier of the InventoryEntry to retrieve.
  • Filters — Optional filters to refine the retrieval, such as the 'expand' parameter to include related referenced resources in the response.

Output shape

a single InventoryEntry JSON object

Returns the JSON representation of the InventoryEntry identified by the provided Inventory Key. Optional 'expand' query parameter can be used to fetch expanded resource details. Errors occur if the InventoryEntry does not exist or other API issues arise.

Examples

Example 1: Retrieve inventory entry by its key

Set the Inventory Key parameter to the unique key of the inventory entry you want to fetch. Optionally provide 'expand' filters to include related resource details in the response.

Links

Discussion