Optimizely · Schema

Order

A purchase order

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
order_group_id integer Unique order group identifier
customer_id string Customer identifier
customer_name string Customer name
status string Current order status
total number Order total amount
currency string Currency code
created string Timestamp when the order was created
modified string Timestamp when the order was last modified
order_forms array Order forms containing line items
View JSON Schema on GitHub

JSON Schema

optimizely-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Order",
  "title": "Order",
  "type": "object",
  "description": "A purchase order",
  "properties": {
    "order_group_id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique order group identifier"
    },
    "customer_id": {
      "type": "string",
      "description": "Customer identifier"
    },
    "customer_name": {
      "type": "string",
      "description": "Customer name"
    },
    "status": {
      "type": "string",
      "description": "Current order status"
    },
    "total": {
      "type": "number",
      "description": "Order total amount"
    },
    "currency": {
      "type": "string",
      "description": "Currency code"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the order was created"
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the order was last modified"
    },
    "order_forms": {
      "type": "array",
      "description": "Order forms containing line items",
      "items": {
        "type": "object",
        "properties": {
          "line_items": {
            "type": "array",
            "description": "Line items in the order form",
            "items": {
              "type": "object",
              "properties": {
                "catalog_entry_id": {
                  "type": "string",
                  "description": "Catalog entry code"
                },
                "display_name": {
                  "type": "string",
                  "description": "Display name of the item"
                },
                "quantity": {
                  "type": "number",
                  "description": "Quantity ordered"
                },
                "placed_price": {
                  "type": "number",
                  "description": "Price at time of purchase"
                }
              }
            }
          }
        }
      }
    }
  }
}

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/optimizely-order"
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.