/api/v1/cart/buy
API endpoint documentation
post
Tags:cart
Operation ID:
postApiV1CartBuy
Query Parameters
Body
cartId
stringExample: "b411056d304d9y6mHe2SoMFBL2Apxfnb"
identityId
stringUse customer identity cookies value when is logged in.
Example: "9jq49ZE1xoKI7S5ys4J0a70y3Xp2hQqc"
quantity
numberExample: 2
productCode
stringExample: "coca-cola"
productVariantCode
stringExample: "coca-cola-zero"
Responses
200
No description
Base URL:
https://bizkithub.com
Example Request
fetch('https://bizkithub.com/api/v1/cart/buy?apiKey=YOUR_API_KEY', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
"cartId": "b411056d304d9y6mHe2SoMFBL2Apxfnb",
"identityId": "9jq49ZE1xoKI7S5ys4J0a70y3Xp2hQqc",
"quantity": 2,
"productCode": "coca-cola",
"productVariantCode": "coca-cola-zero"
})
})
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