commercetools icon

commercetools

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

Actions671

Store Staged Quote → Delete StagedQuote in Store by Key

AI-generated

Summary

Delete a staged quote in a specific store within a commercetools project by its unique key and version number.

Inputs

  • Store Key (required) — The key identifying the store which contains the staged quote to delete.
  • Staged Quote Key (required) — The unique key of the staged quote to delete in the specified store.
  • Version (required) — The current version number of the staged quote, required for concurrency control to delete the correct version.

Output shape

a single JSON object representing the deleted staged quote as returned by the commercetools API

The operation requires the 'Store Key', 'Staged Quote Key', and 'Version' inputs. It returns the deleted staged quote's complete JSON data. Errors are thrown if the quote is not found, or the version is incorrect. Pagination does not apply.

Examples

Example 1: Delete a staged quote from store 'summer-store' with key 'quote-123' at version 5

Set 'Store Key' to 'summer-store', 'Staged Quote Key' to 'quote-123', and 'Version' to 5.

Links

Discussion