Discard cart
Discards a cart after a failed or abandoned checkout, releasing it. Retry the checkout with a freshly generated cart ID.
Scoped to the brand in the brandId path parameter. A brand key must be that brand’s own key. An organization key works for any brand in its organization, including brands of child organizations, and needs no Way-Brand-Id header.
Authorizations
Your brand's secret API key, e.g. Bearer way_sk_live_bhEqcn0i1fRoUEHBPjJkQA. The key names the brand, so a brandId in the path must be your own brand. Older Way-Brand-Id + Way-Secret-Key credentials still work: see Legacy authentication.
Path Parameters
The brand's ID. With a brand key this must be your own brand; with an organization key it can be any brand in the organization.
The cart's ID, the client-generated UUID used at checkout.
Response
Cart discarded.