Avalara · Schema

SalesOrder

Taxes

Properties

Name Type Description
accountId string
products array
campaignId string
View JSON Schema on GitHub

JSON Schema

avalara-salesorder-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SalesOrder",
  "title": "SalesOrder",
  "type": "object",
  "required": [
    "accountId",
    "products"
  ],
  "properties": {
    "accountId": {
      "type": "string"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "productCode": {
            "type": "string"
          },
          "quantity": {
            "type": "integer"
          }
        }
      }
    },
    "campaignId": {
      "type": "string"
    }
  }
}