简体中文
Endpoint catalog

removePublicCartPromotion

DELETE /api/v1/open/storefront/carts/{cartId}/promotion

DELETE /api/v1/open/storefront/carts/{cartId}/promotion

  • operationId: removePublicCartPromotion
  • Stability: candidate
  • Authentication: Authorization header API Key; required scopes: checkout:quote
  • Idempotency: required

Parameters

NameInRequiredType
cartIdpathYesstring

Request body

  • Required: Yes
  • Schema: #/components/schemas/PublicCartTransitionRequest

Responses and errors

StatusDescriptionSchema
200Successful response#/components/schemas/PublicCartPromotionStateResponse
400Request does not match the public contract#/components/schemas/PublicErrorResponse
401Authentication failed#/components/schemas/PublicErrorResponse
403Insufficient authorization scope#/components/schemas/PublicErrorResponse
404Public resource not found#/components/schemas/PublicErrorResponse
409Idempotency or state conflict#/components/schemas/PublicErrorResponse
429Rate limited#/components/schemas/PublicErrorResponse

Rate limiting

The spec declares a 429 response. The Retry-After header is not declared by the spec.

  • Top-level shape: { data: object }

Success response schema

{
  "$ref": "#/components/schemas/PublicCartPromotionStateResponse"
}

Error response schema

{
  "$ref": "#/components/schemas/PublicErrorResponse"
}

Generated from the verified public-only OpenAPI artifact; no speculative request example is provided.

Copyright © 2026