Basic information

DELETE /{shopId}/carts/{cartId}/line-items/{lineItemId}

Deletes a specific product line item from a cart.

URI parameters

Name Type Description
shopId string

The unique identifier of the shop.

Required: true
Example: DemoShop
cartId string
Required: true
lineItemId string
Required: true

Response attributes

Name Type Description

object of cart

Response

HTTP 200

Media type application/json

{
  "cartId": "5858FD17-147C-661C-9C33-D5809AB3C8BA",
  "billingAddress": null,
  "shippingAddress": null,
  "lineItemContainer": {
    "grandTotal": {
      "taxType": "GROSS",
      "formatted": "0.00 €",
      "amount": 0,
      "currency": "EUR"
    },
    "totalBeforeTax": {
      "taxType": "NET",
      "formatted": "0.00 €",
      "amount": 0,
      "currency": "EUR"
    },
    "totalTax": {
      "taxType": "NONE",
      "formatted": "0.00 €",
      "amount": 0,
      "currency": "EUR"
    },
    "lineItemsSubTotal": {
      "taxType": "GROSS",
      "formatted": "0.00 €",
      "amount": 0,
      "currency": "EUR"
    },
    "productLineItems": [],
    "couponLineItem": null,
    "shippingPrice": {
      "taxType": "GROSS",
      "formatted": "0,00 €",
      "amount": 0,
      "currency": "EUR"
    },
    "deposits": [],
    "ecoParticipations": [],
    "shippingOptions": [],
    "basketDiscount": {
      "links": []
    }
  },
  "shippingData": null,
  "paymentData": null,
  "minimumCart": {
    "status": true,
    "code": "SumDiscount",
    "amount": null
  },
  "pickupToken": "Yjk5N2M1MGU5MTU4NjM3ZGNiNjU5MDE4MmZhZGIzNzZiN2YwOGU5NjNlYjdjMGQ0ZmI5ZWY1NjU4NTQ4NmMwOV8xNDgyMjI4MDk3",
  "creationDate": "2018-12-17T21:07:29Z",
  "checkoutUrl": "https://pm.epages.com/epages/apidocu.sf/?ObjectPath=/Shops/apidocu/AnonymousUsers/2/Baskets/46072&ChangeAction=PickupBasket&PickupToken=Yjk5N2M1MGU5MTU4NjM3ZGNiNjU5MDE4MmZhZGIzNzZiN2YwOGU5NjNlYjdjMGQ0ZmI5ZWY1NjU4NTQ4NmMwOV8xNDgyMjI4MDk3",
  "registerSessionUrl": "https://pm.epages.com/epages/apidocu.sf/?ObjectPath=/Shops/apidocu/AnonymousUsers/2/Baskets/46072&ChangeAction=PickupBasket&PickupToken=NTRjZWJmNjdhNzNlYTUzNDAxZTgyZTc4ODYwYTliMDUxMDIzNDQ2OWY2NWQ5NWRmN2Q2YmVjZjVjNzljOTQ2N18xNDgyMjI3OTE3",
  "links": [
    {
      "rel": "self",
      "href": "https://pm.epages.com/rs/shops/apidocu/carts/5858FD17-147C-661C-9C33-D5809AB3C8BA"
    },
    {
      "rel": "add-coupon",
      "href": "https://pm.epages.com/rs/shops/apidocu/carts/5858FD17-147C-661C-9C33-D5809AB3C8BA/coupon"
    }
  ]
}