/bff/order/create
Creates a new order from admin panel (POS mode). By default creates a draft/cart that can be edited before confirmation. Set startAsCart=false to create a confirmed order immediately.
Parameters
15 body
orderGroupIdstringOrder group code (e.g., "default", "eshop").
customerobject11 fieldsCustomer information for the order.
itemsobject[]10 fieldsList of order items.
localestringCommunication locale code used to filter content.
Supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da.
currencystringCurrency code (e.g., "CZK", "EUR"). Defaults to organisation currency.
salenumberGlobal discount amount for the entire order.
paymentMethodstring | stringPayment method: "credits" for credit balance, "money" for standard payment.
deliveryPricenumberDelivery/shipping price.
paymentPricenumberPayment processing fee.
internalNoticestringInternal note visible only to staff.
publicNoticestringPublic note visible to customer.
tagsobjectTags to attach to the order.
ignoreNotificationbooleanSkip sending order confirmation email. Defaults to true.
startAsCartbooleanCreate order as draft/cart (true) or as new order (false). Defaults to false.
preventAutoPaymentbooleanPrevent automatic marking as paid when order price is 0. Defaults to true.
Request
POST /bff/order/create
curl -X POST "https://api.bizkithub.com/bff/order/create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"orderGroupId": "example_orderGroupId",
"customer": {
"email": "jan@barasek.com",
"firstName": "example_firstName",
"lastName": "example_lastName",
"phone": "example_phone",
"companyName": "example_companyName",
"companyRegistrationNumber": "example_companyRegistrationNumber",
"taxIdentificationNumber": "example_taxIdentificationNumber",
"streetAddress": "example_streetAddress",
"city": "example_city",
"postalCode": "example_postalCode",
"country": "example_country"
},
"items": [
{
"label": "example_label",
"price": 0,
"vat": 0,
"count": 0,
"sale": 0,
"unit": "example_unit",
"productCode": "example_productCode",
"variantCode": "example_variantCode",
"eventCode": "example_eventCode",
"creditAmount": 0
}
],
"locale": "cs",
"currency": "example_currency",
"sale": 0,
"deliveryPrice": 0,
"paymentPrice": 0,
"internalNotice": "example_internalNotice",
"publicNotice": "example_publicNotice",
"tags": {},
"ignoreNotification": false,
"startAsCart": false,
"preventAutoPayment": false
}'Response
Order created successfully.
{
"success": true,
"hash": "example_hash",
"orderNumber": "example_orderNumber"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.