Marketplace
Commerce and purchases

Clear the shop cart

Changed on

Deletes every ShopCartItem for the authenticated user. DELETE /api/v1/marketplace/cart/{itemId} still removes one line. Does not refund purchases or touch another user's cart.

delete/api/v1/marketplace/cart

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Response

{ success, data: { removed } } — removed is the number of cart lines deleted.

Changes