commercetools icon

commercetools

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

Actions671

Quote → Delete Quote by ID

AI-generated

Summary

Delete a commercetools Quote by specifying its Quote ID and version number.

Inputs

  • Quote ID (required) — The unique identifier of the Quote to delete.
  • Version (required) — The current version of the Quote, used for concurrency control to ensure the correct version is deleted.

Output shape

a single JSON object containing the deleted Quote's data or an error message

Requires authentication with commercetools OAuth2 credentials. The deletion operation uses HTTP DELETE with version passed as a query parameter. Errors will be thrown if the Quote does not exist or the version is incorrect.

Examples

Example 1: Delete a specific Quote by its ID and version

Provide the Quote ID and its version (usually 1 or higher) to remove that version of the Quote from commercetools.

Links

Discussion