commercetools icon

commercetools

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

Actions671

Store Quote → Delete Quote in Store by ID

AI-generated

Summary

Delete a Store Quote by its ID and version within a specified store and project in commercetools.

Inputs

  • Store Key (required) — The unique key of the store where the quote exists.
  • Store Quote Key (required) — The unique key identifying the quote resource in the store.
  • Quote ID (required) — The ID of the quote to delete.
  • Version (required) — The current version of the quote to ensure concurrency control when deleting.

Output shape

a single JSON object representing the deleted quote resource or an error response if deletion fails.

The operation requires the quote's current version to be specified for optimistic concurrency. On success, returns the deleted quote data; on failure, returns an error.

Examples

Example 1: Delete a quote from a store

Provide Store Key, Store Quote Key, Quote ID, and the current Version of the quote to delete it in commercetools.

Links

Discussion