BlueCart · Schema

OrderCreate

Payload for placing a new order.

RestaurantProcurementWholesaleOrderingFood DistributionHospitalityE-Commerce

Properties

Name Type Description
clientId integer Identifier of the client placing the order.
user object The user placing the order.
deliveryCharge number Delivery charge to apply.
deliveryType string Delivery method.
requestedDeliveryDate string Requested delivery date.
currency string ISO currency code.
addresses object Billing and shipping addresses.
products array Line items to include in the order.
presetCreationDate string Optional preset creation timestamp for the order.
View JSON Schema on GitHub

JSON Schema

bluecart-order-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderCreate",
  "description": "Payload for placing a new order.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bluecart/refs/heads/main/json-schema/bluecart-order-create-schema.json",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "integer",
      "format": "int64",
      "description": "Identifier of the client placing the order.",
      "example": 5012
    },
    "user": {
      "type": "object",
      "description": "The user placing the order.",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "example": 3001
        },
        "type": {
          "type": "string",
          "example": "STAFF"
        }
      }
    },
    "deliveryCharge": {
      "type": "number",
      "format": "float",
      "description": "Delivery charge to apply.",
      "example": 25
    },
    "deliveryType": {
      "type": "string",
      "description": "Delivery method.",
      "example": "Delivery"
    },
    "requestedDeliveryDate": {
      "type": "string",
      "format": "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": "integer",
            "format": "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": "number",
            "description": "Quantity ordered.",
            "example": 12
          },
          "price": {
            "type": "number",
            "format": "float",
            "description": "Unit price for this line item.",
            "example": 18.5
          }
        }
      }
    },
    "presetCreationDate": {
      "type": "string",
      "format": "date-time",
      "description": "Optional preset creation timestamp for the order.",
      "example": "2026-06-02T14:30:00Z"
    }
  },
  "required": [
    "clientId",
    "products"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bluecart-order-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.