{
  "@context": "https://schema.org",
  "@type": "WebAPI",
  "@id": "https://xn--82czbx2bczd4fl8a.online/agent-pricing/quote-api.json#api",
  "name": "Quote API (machine-readable)",
  "dateModified": "2026-06-02T05:03:30.272Z",
  "endpoint": "https://xn--82czbx2bczd4fl8a.online/agent-pricing/quote",
  "method": "POST",
  "contentType": "application/json",
  "request": {
    "schema": {
      "type": "object",
      "required": [
        "sku",
        "quantity"
      ],
      "properties": {
        "sku": {
          "type": "string",
          "description": "SKU from sku-catalog.json"
        },
        "quantity": {
          "type": "integer",
          "minimum": 1
        },
        "options": {
          "type": "object",
          "properties": {
            "urgency": {
              "type": "string",
              "enum": [
                "standard",
                "express",
                "same-day"
              ]
            },
            "destinationCountry": {
              "type": "string",
              "description": "ISO 3166-1 alpha-2"
            },
            "pages": {
              "type": "integer",
              "minimum": 1
            },
            "language": {
              "type": "string",
              "enum": [
                "th",
                "en",
                "ja",
                "zh",
                "ko"
              ]
            }
          }
        },
        "currency": {
          "type": "string",
          "default": "THB"
        }
      }
    }
  },
  "response": {
    "schema": {
      "type": "object",
      "properties": {
        "quoteId": {
          "type": "string"
        },
        "sku": {
          "type": "string"
        },
        "subtotal": {
          "type": "number"
        },
        "vat": {
          "type": "number"
        },
        "shipping": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "validThrough": {
          "type": "string",
          "format": "date-time"
        },
        "estimatedSlaDays": {
          "type": "integer"
        }
      }
    }
  }
}