Home
BlueCart
Bluecart Order Create Structure
Bluecart Order Create Structure
Payload for placing a new order.
Type: object
Properties: 9
Required: 2
Restaurant Procurement Wholesale Ordering Food Distribution Hospitality eCommerce
OrderCreate is a JSON Structure definition published by BlueCart, describing 9 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
clientId
user
deliveryCharge
deliveryType
requestedDeliveryDate
currency
addresses
products
presetCreationDate
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/bluecart/refs/heads/main/json-structure/bluecart-order-create-structure.json",
"name": "OrderCreate",
"description": "Payload for placing a new order.",
"type": "object",
"properties": {
"clientId": {
"type": "int64",
"description": "Identifier of the client placing the order.",
"example": 5012
},
"user": {
"type": "object",
"description": "The user placing the order.",
"properties": {
"id": {
"type": "int64",
"example": 3001
},
"type": {
"type": "string",
"example": "STAFF"
}
}
},
"deliveryCharge": {
"type": "float",
"description": "Delivery charge to apply.",
"example": 25
},
"deliveryType": {
"type": "string",
"description": "Delivery method.",
"example": "Delivery"
},
"requestedDeliveryDate": {
"type": "date",
"description": "Requested delivery date.",
"example": "2026-06-10"
},
"currency": {
"type": "string",
"description": "ISO currency code.",
"example": "USD"
},
"addresses": {
"type": "object",
"description": "Billing and shipping addresses.",
"additionalProperties": true
},
"products": {
"type": "array",
"description": "Line items to include in the order.",
"items": {
"title": "OrderProduct",
"type": "object",
"description": "A line item within an order.",
"x-schema-source": "documentation",
"x-source-url": "https://docs.bluecart.com/endpoints",
"properties": {
"productId": {
"type": "int64",
"description": "Identifier of the product.",
"example": 90210
},
"sku": {
"type": "string",
"description": "Stock keeping unit of the product.",
"example": "WINE-CAB-750"
},
"name": {
"type": "string",
"description": "Product name.",
"example": "Cabernet Sauvignon 750ml"
},
"quantity": {
"type": "double",
"description": "Quantity ordered.",
"example": 12
},
"price": {
"type": "float",
"description": "Unit price for this line item.",
"example": 18.5
}
}
}
},
"presetCreationDate": {
"type": "datetime",
"description": "Optional preset creation timestamp for the order.",
"example": "2026-06-02T14:30:00Z"
}
},
"required": [
"clientId",
"products"
]
}