Raw schema
{
"type": "object",
"properties": {
"items": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Gooten SKU (product variant), e.g. CanvsWrp-ImgWrp-10x10. See gooten_list_product_variants."
},
"quantity": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 10000
},
"ship_type": {
"description": "Shipping method (default Standard).",
"type": "string",
"enum": [
"Standard",
"Expedited",
"Overnight"
]
}
},
"required": [
"sku",
"quantity"
]
},
"description": "Order lines (1-50)."
},
"address_line1": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Shipping address line 1."
},
"address_line2": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Shipping address line 2."
},
"city": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Shipping city."
},
"state": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"description": "Shipping state/province code, if any."
},
"postal_code": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"description": "Shipping postal code."
},
"country_code": {
"description": "2-letter ISO 3166-1 country code, e.g. US.",
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"currency_code": {
"description": "3-letter currency code (default USD). See gooten_list_currencies.",
"type": "string",
"pattern": "^[A-Za-z]{3}$"
}
},
"required": [
"items",
"address_line1",
"city",
"postal_code",
"country_code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}