Purple Dot · Schema

GetAdminApiV1PreOrdersResponse

CompanyPreorderE-commerceSaaSAI

Properties

Name Type Description
id string
reference string
cancel_reason stringnull
cancelled_at stringnull
created_at string
currency string
email string
customer object
line_items array
shipping_address object
shipping_lines array
subtotal_price number
tax_lines array
tax_included boolean
total_discounts number
total_price number
total_tax number
total_refunded number
exported_orders array
sales_channel string
pos_sale stringnull
View JSON Schema on GitHub

JSON Schema

purple-dot-get-admin-api-v1-pre-orders-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/purple-dot/json-schema/purple-dot-get-admin-api-v1-pre-orders-response-schema.json",
  "title": "GetAdminApiV1PreOrdersResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/purple-dot-openapi-generated.yml#/components/schemas/GetAdminApiV1PreOrdersResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "reference": {
      "type": "string"
    },
    "cancel_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "cancelled_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "currency": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "customer": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "external_id": {
          "type": "string"
        }
      }
    },
    "line_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "total": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "product_id": {
            "type": "string"
          },
          "quantity": {
            "type": "integer"
          },
          "sku": {
            "type": "string"
          },
          "variant_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "earliest_ship_date": {
            "type": "string",
            "format": "date-time"
          },
          "latest_ship_date": {
            "type": "string",
            "format": "date-time"
          },
          "taxable": {
            "type": "boolean"
          },
          "tax_lines": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "price": {
                  "type": "number"
                },
                "rate": {
                  "type": "number"
                },
                "title": {
                  "type": "string"
                },
                "inclusive": {
                  "type": "boolean"
                }
              }
            }
          },
          "total_discount": {
            "type": "number"
          },
          "cancelled_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "cancelled": {
            "type": "boolean"
          }
        }
      }
    },
    "shipping_address": {
      "type": "object",
      "properties": {
        "address1": {
          "type": "string"
        },
        "address2": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "country_code": {
          "type": "string"
        },
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "province_code": {
          "type": "string"
        },
        "postal_code": {
          "type": "string"
        }
      }
    },
    "shipping_lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "total": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "tax_lines": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "price": {
                  "type": "number"
                },
                "rate": {
                  "type": "number"
                },
                "title": {
                  "type": "string"
                },
                "inclusive": {
                  "type": "boolean"
                }
              }
            }
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "line_item_id": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "subtotal_price": {
      "type": "number"
    },
    "tax_lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "price": {
            "type": "number"
          },
          "rate": {
            "type": "number"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "tax_included": {
      "type": "boolean"
    },
    "total_discounts": {
      "type": "number"
    },
    "total_price": {
      "type": "number"
    },
    "total_tax": {
      "type": "number"
    },
    "total_refunded": {
      "type": "number"
    },
    "exported_orders": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "order_number": {
            "type": "string"
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "line_item_id": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "sales_channel": {
      "type": "string"
    },
    "pos_sale": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

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/purple-dot-get-admin-api-v1-pre-orders-response"
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.