Save your wardrobe booking apis
  1. shoppingCart
Save your wardrobe booking apis
  • Customer booking
    • Getting Started
      • Introduction
      • Authentication
      • Attribute groups
    • Authentication
      • Customer login
      • Customer signup
    • categories
      • Get providers
      • Get clothes categories
    • services
      • Get services
    • Upload photos
      • Uplaod photos
    • shoppingCart
      • Create A New Shopping Cart
        GET
      • Add items to Shopping Cart
        POST
      • Add customer to Shopping Cart
        POST
      • Delete Item From Shopping Cart
        DELETE
      • Get Available Logistics Options
        GET
      • Add Logistic Option To Shopping Cart
        POST
    • order
      • Create the Order from the Shopping Cart
      • List Orders
  • Schemas
    • attributesGroup
    • currency
    • translatedString
    • metadata
    • shoppingCart
    • item
    • item Copy
    • order
  1. shoppingCart

Delete Item From Shopping Cart

Developing
DELETE
/shopping-cart/{id}/items/{itemId}
When an item is deleted from the shopping cart:
If other Items remain in the ShoppingCart:
The response will include details about the remaining items in the cart, such as their attributes, prices, and associated information.
The cart data remains populated and reflects the updated state of the cart after the deletion.
If the deleted Item was the last Item in the ShoppingCart:
The shoppingCart becomes empty, and all cart-related data fields in the response (such as items, store, customer, logisticOption, etc.) will be null or empty.
This reflects that there are no items or associated data left in the cart

Request

Path Params

Responses

🟢200Success
application/json
Body

Example
{
    "insurance": {
        "status": "no_insurance",
        "estimatedItemPrice": null,
        "price": null
    },
    "tempItem": null,
    "customer": null,
    "discountCode": null,
    "bookingType": "paid",
    "store": null,
    "_id": "679266ea9c7bac0037ecc737",
    "source": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",
    "provider": null,
    "remoteAddress": "196.179.208.4, 34.111.123.139",
    "items": [],
    "createdAt": "2025-01-23T15:57:30.117Z",
    "updatedAt": "2025-01-23T16:08:32.537Z",
    "logisticOption": null,
    "estimatedPrice": {
        "appliedDiscounts": [],
        "totalDiscount": 0,
        "estimatedTimetText": ""
    }
}
Previous
Add customer to Shopping Cart
Next
Get Available Logistics Options
Built with