3M · Schema

CreateOrderRequest

Request body for creating a new order

IndustrialManufacturingSupply ChainFortune 100

Properties

Name Type Description
items array Line items to order
shippingAddress object
View JSON Schema on GitHub

JSON Schema

3m-partner-supplier-api-create-order-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/3m/refs/heads/main/json-schema/3m-partner-supplier-api-create-order-request-schema.json",
  "title": "CreateOrderRequest",
  "description": "Request body for creating a new order",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Line items to order",
      "items": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "description": "Product identifier",
            "example": "PROD-12345"
          },
          "quantity": {
            "type": "integer",
            "description": "Quantity to order",
            "example": 20
          }
        }
      }
    },
    "shippingAddress": {
      "$ref": "#/components/schemas/ShippingAddress"
    }
  },
  "required": [
    "items",
    "shippingAddress"
  ]
}