BigCommerce · Schema
Shipping Address
Object representing a destination or origin address for items.
E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS
Properties
| Name | Type | Description |
|---|---|---|
| street_1 | string | |
| street_2 | string | |
| zip | string | |
| city | string | |
| state_iso2 | string | State in ISO_3166 2 format. |
| country_iso2 | string | Country in ISO_3166 2 format. |
| address_type | string | Optional. Defaults to `RESIDENTIAL`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ShippingAddress",
"title": "Shipping Address",
"type": "object",
"description": "Object representing a destination or origin address for items.",
"properties": {
"street_1": {
"type": "string",
"maxLength": 255
},
"street_2": {
"type": "string",
"maxLength": 255
},
"zip": {
"type": "string",
"maxLength": 20,
"example": "94105"
},
"city": {
"type": "string",
"maxLength": 50,
"example": "San Francisco"
},
"state_iso2": {
"type": "string",
"description": "State in ISO_3166 2 format.",
"maxLength": 2
},
"country_iso2": {
"type": "string",
"description": "Country in ISO_3166 2 format.",
"maxLength": 2,
"example": "US"
},
"address_type": {
"description": "Optional. Defaults to `RESIDENTIAL`.",
"type": "string",
"enum": [
"RESIDENTIAL",
"COMMERCIAL"
]
}
},
"required": [
"zip",
"country_iso2"
],
"x-internal": false
}