DocsAPI ReferenceOrder/bff/order/add-product
postOrderAdmin BFF

/bff/order/add-product

Adds an existing product as a new line item to the order and recalculates the total price.

OrderpostBffOrderAdd-product

Parameters

7 body

7 total
Body · 7
orderHashstringRequired

Unique order hash identifier.

productCodestringRequired

Product code to link the item to.

productVariantCodestring

Product variant code.

labelstringRequired

Item label displayed on invoice.

pricenumberRequired

Unit price including VAT.

vatnumberRequired

VAT rate in percent (e.g. 21).

countnumberRequired

Quantity to add.

Request

POST /bff/order/add-product

post
curl -X POST "https://api.bizkithub.com/bff/order/add-product" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "orderHash": "example_orderHash",
  "productCode": "example_productCode",
  "productVariantCode": "example_productVariantCode",
  "label": "example_label",
  "price": 0,
  "vat": 0,
  "count": 0
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key