BlueCart · JSON Structure

Bluecart Order Structure

A wholesale order between a client and a vendor.

Type: object Properties: 15
RestaurantProcurementWholesaleOrderingFood DistributionHospitalityeCommerce

Order is a JSON Structure definition published by BlueCart, describing 15 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

orderId clientId vendorId status deliveryType currency deliveryCharge requestedDeliveryDate deliveryDate shippingDate creationDate lastUpdateDate products addresses totals

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bluecart/refs/heads/main/json-structure/bluecart-order-structure.json",
  "name": "Order",
  "description": "A wholesale order between a client and a vendor.",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "int64",
      "description": "Unique order identifier.",
      "example": 100245
    },
    "clientId": {
      "type": "int64",
      "description": "Identifier of the client placing the order.",
      "example": 5012
    },
    "vendorId": {
      "type": "int64",
      "description": "Identifier of the vendor fulfilling the order.",
      "example": 880
    },
    "status": {
      "type": "string",
      "description": "Current order status.",
      "enum": [
        "New",
        "Processing",
        "In-Transit/Shipped",
        "Fulfilled",
        "Cancelled"
      ],
      "example": "New"
    },
    "deliveryType": {
      "type": "string",
      "description": "Delivery method for the order.",
      "example": "Delivery"
    },
    "currency": {
      "type": "string",
      "description": "ISO currency code for monetary amounts.",
      "example": "USD"
    },
    "deliveryCharge": {
      "type": "float",
      "description": "Delivery charge applied to the order.",
      "example": 25
    },
    "requestedDeliveryDate": {
      "type": "date",
      "description": "Date delivery was requested for.",
      "example": "2026-06-10"
    },
    "deliveryDate": {
      "type": "date",
      "description": "Actual delivery date.",
      "example": "2026-06-10"
    },
    "shippingDate": {
      "type": "date",
      "description": "Date the order shipped.",
      "example": "2026-06-09"
    },
    "creationDate": {
      "type": "datetime",
      "description": "Timestamp the order was created.",
      "example": "2026-06-02T14:30:00Z"
    },
    "lastUpdateDate": {
      "type": "datetime",
      "description": "Timestamp the order was last updated.",
      "example": "2026-06-02T15:00:00Z"
    },
    "products": {
      "type": "array",
      "description": "Line items 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
          }
        }
      }
    },
    "addresses": {
      "type": "object",
      "description": "Billing and shipping addresses for the order.",
      "additionalProperties": true
    },
    "totals": {
      "type": "object",
      "description": "Computed monetary totals for the order.",
      "additionalProperties": true
    }
  }
}