Skip to main content
PATCH
/
shops
/
{shopId}
/
cart
/
{cartId}
Update Cart
curl --request PATCH \
  --url http://staging.qshop.ng/apiv2/shops/{shopId}/cart/{cartId}/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "_id": "<string>",
      "name": "<string>",
      "qty": 123,
      "variant": {
        "_id": "<string>"
      }
    }
  ],
  "email": "<string>"
}
'
{
  "msg": "<string>",
  "data": "<unknown>",
  "success": true
}

Path Parameters

shopId
string
required
cartId
string
required

Body

application/json
items
object[]
required
email
string
required

Response

400 - application/json
msg
string
required
data
null
required
success
boolean
required