Avalara · JSON Structure

Business Sales Order Structure

SalesOrder schema from Avalara API

Type: object Properties: 3 Required: 2
Taxes

SalesOrder is a JSON Structure definition published by Avalara, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

accountId products campaignId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/business-sales-order-structure.json",
  "description": "SalesOrder schema from Avalara API",
  "type": "object",
  "required": [
    "accountId",
    "products"
  ],
  "properties": {
    "accountId": {
      "type": "string"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "productCode": {
            "type": "string"
          },
          "quantity": {
            "type": "int32"
          }
        }
      }
    },
    "campaignId": {
      "type": "string"
    }
  },
  "name": "SalesOrder"
}