/api/v1/cart/change-quantity

API endpoint documentation

post
Tags:cart
Operation ID: postApiV1CartChange-quantity
Query Parameters
apiKeystring
required

Your BizKitHub API key (passed as GET parameter)

Body
cartIdstring
required
Example: "b411056d304d9y6mHe2SoMFBL2Apxfnb"
itemIdstring
required
Example: "8YOoIOOuc48IShi2"
quantitynumber
required

Set product quantity. Use 0 to remove item from cart.

Example: 4
Responses
200

No description

Base URL:
https://bizkithub.com

Example Request

fetch('https://bizkithub.com/api/v1/cart/change-quantity?apiKey=YOUR_API_KEY', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
        "cartId": "b411056d304d9y6mHe2SoMFBL2Apxfnb",
        "itemId": "8YOoIOOuc48IShi2",
        "quantity": 4
    })
})

Example Response

HTTP 200Success Response
{
  "success": false
}

🔑 API Key Required

All BizKitHub API endpoints require authentication using an API key. The API key must be passed as a GET parameter in the URL for all requests.

Back to API Documentation
Last updated: August 6, 2025