Rutter · Schema

CreateOrderBody

AccountingB2BCommerceFinancial DataPaymentsUnified APIHRIS

Properties

Name Type Description
order object
View JSON Schema on GitHub

JSON Schema

rutter-create-order-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rutter/json-schema/rutter-create-order-body-schema.json",
  "title": "CreateOrderBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rutter-orders-api-openapi.yml#/components/schemas/CreateOrderBody",
  "type": "object",
  "properties": {
    "order": {
      "$ref": "#/$defs/CreateOrder"
    }
  },
  "required": [
    "order"
  ],
  "$defs": {
    "CreateOrder": {
      "type": "object",
      "properties": {
        "currency_code": {
          "type": "string",
          "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code for the line item."
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "variant_id": {
                "type": "string",
                "description": "The variant id associated with the line item.",
                "x-rutter-platforms": {
                  "SHOPIFY": {}
                }
              },
              "quantity": {
                "type": "number",
                "description": "The quantity of the variant.",
                "x-rutter-platforms": {
                  "SHOPIFY": {}
                }
              }
            },
            "required": [
              "variant_id"
            ],
            "additionalProperties": false
          },
          "description": "An array of product variants included in the order and their quantities.",
          "x-rutter-platforms": {
            "SHOPIFY": {}
          }
        },
        "customer": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "description": "The email of the customer associated with the order.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "first_name": {
              "type": "string",
              "description": "The first name of the customer associated with the order.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "last_name": {
              "type": "string",
              "description": "The last name of the customer associated with the order.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            }
          },
          "required": [
            "email"
          ],
          "additionalProperties": false,
          "description": "Information about the customer.",
          "x-rutter-platforms": {
            "SHOPIFY": {}
          }
        },
        "billing_address": {
          "type": "object",
          "properties": {
            "address1": {
              "type": "string",
              "description": "The first address line of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "city": {
              "type": "string",
              "description": "The city, town, or village of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "country_code": {
              "type": "string",
              "description": "The [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) country code for the country of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "first_name": {
              "type": "string",
              "description": "The first name of the person associated with the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "last_name": {
              "type": "string",
              "description": "The last name of the person associated with the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "postal_code": {
              "type": "string",
              "description": "The postal code (ZIP, Eircode, etc) of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "region": {
              "type": "string",
              "description": "The abbreviation of the region of the address. For the US, this would be states, for other places, it would be provinces or equivalent.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "address2": {
              "type": "string",
              "description": "An optional second address line of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "email": {
              "type": [
                "string",
                "null"
              ],
              "description": "The email for the customer at the address."
            },
            "phone": {
              "type": [
                "string",
                "null"
              ],
              "description": "The phone number at the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            }
          },
          "required": [
            "address1",
            "city",
            "country_code",
            "first_name",
            "last_name",
            "postal_code",
            "region"
          ],
          "additionalProperties": false,
          "description": "The billing address of the order.",
          "x-rutter-platforms": {
            "SHOPIFY": {}
          }
        },
        "shipping_address": {
          "type": "object",
          "properties": {
            "address1": {
              "type": "string",
              "description": "The first address line of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "city": {
              "type": "string",
              "description": "The city, town, or village of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "country_code": {
              "type": "string",
              "description": "The [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) country code for the country of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "first_name": {
              "type": "string",
              "description": "The first name of the person associated with the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "last_name": {
              "type": "string",
              "description": "The last name of the person associated with the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "postal_code": {
              "type": "string",
              "description": "The postal code (ZIP, Eircode, etc) of the address.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "region": {
              "type": "string",
              "description": "The abbreviation of the region of the address. For the US, this would be states, for other places, it would be provinces or equivalent.",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            },
            "address2": {
              "type": "string",
              "description": "An optional second address line of the address."
            },
            "email": {
              "type": [
                "string",
                "null"
              ],
              "description": "The email for the customer at the address."
            },
            "phone": {
              "type": [
                "string",
                "null"
              ],
              "description": "The phone number at the address."
            }
          },
          "required": [
            "address1",
            "city",
            "country_code",
            "first_name",
            "last_name",
            "postal_code",
            "region"
          ],
          "additionalProperties": false,
          "description": "The shipping address of the order.",
          "x-rutter-platforms": {
            "SHOPIFY": {}
          }
        },
        "additional_fields": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Tags associated with the order. Shopify Only",
              "x-rutter-platforms": {
                "SHOPIFY": {}
              }
            }
          },
          "additionalProperties": false,
          "x-rutter-platforms": {
            "SHOPIFY": {}
          }
        }
      },
      "required": [
        "currency_code",
        "line_items",
        "customer",
        "billing_address"
      ],
      "description": "The order to create."
    }
  }
}

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/rutter-create-order-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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