Raw schema
{
"type": "object",
"properties": {
"subscription_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The subscription's `id` (not its `internal_id`)."
},
"delivery_interval": {
"description": "Delivery interval, e.g. \"4 week\" or \"1 month\".",
"type": "string",
"minLength": 3,
"maxLength": 30
},
"billing_interval": {
"description": "Billing interval, e.g. \"8 week\". Longer than delivery_interval = prepaid.",
"type": "string",
"minLength": 3,
"maxLength": 30
},
"automatically_update_product_prices": {
"description": "When switching between prepaid and not prepaid, reprice the items.",
"type": "boolean"
},
"billing_min_cycles": {
"description": "Minimum number of payments.",
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"billing_max_cycles": {
"description": "Maximum number of payments (0 = unlimited).",
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"note_attributes": {
"description": "Replaces all note attributes.",
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"name",
"value"
]
}
},
"delivery_method_title": {
"type": "string",
"maxLength": 200
},
"delivery_method_presentment_title": {
"type": "string",
"maxLength": 200
},
"delivery_price": {
"type": "number",
"minimum": 0
},
"delivery_method_code": {
"type": "string",
"maxLength": 200
},
"s_first_name": {
"type": "string",
"maxLength": 200
},
"s_last_name": {
"type": "string",
"maxLength": 200
},
"s_company": {
"type": "string",
"maxLength": 200
},
"s_address1": {
"type": "string",
"maxLength": 300
},
"s_address2": {
"type": "string",
"maxLength": 300
},
"s_zip": {
"type": "string",
"maxLength": 40
},
"s_city": {
"type": "string",
"maxLength": 200
},
"s_province": {
"type": "string",
"maxLength": 200
},
"s_province_code": {
"type": "string",
"maxLength": 20
},
"s_country": {
"type": "string",
"maxLength": 200
},
"s_country_code": {
"type": "string",
"maxLength": 10
},
"s_phone": {
"type": "string",
"maxLength": 60
}
},
"required": [
"subscription_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}