commercetools icon

commercetools

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

Actions671

Quote → Get Quote by Key

AI-generated

Summary

Retrieve a single Quote from the commercetools platform using its unique Quote Key.

Inputs

  • Quote Key (required) — The unique key identifier of the Quote to retrieve.
  • Filters — Optional filter parameters to customize the response, including the ability to expand reference objects by specifying an 'expand' query parameter.

Output shape

a single JSON object representing the requested Quote

Returns the Quote data if found; errors if the Quote Key does not exist or the request fails. The 'expand' filter can be used to include expanded reference entities in the response.

Examples

Example 1: Retrieve a Quote by its key with expanded customer details

Set 'Quote Key' to the desired key and add an 'expand' filter value like 'customer' to include customer reference data expanded in the response.

Links

Discussion