input CreateOrderAddressInput
Order type for addresses. Orders have addresses with more details than the rest of the system so we use our own types
Fields
| Field | Type | Description |
|---|---|---|
first_name | String | |
last_name | String | |
company | String | |
address1 | String | |
address2 | String | |
city | String | |
state | String | Send the state code here (e.g., NY, CA) |
state_code | String | DEPRECATED Use the state field instead and send the state code |
zip | String | |
country | String | Send the ISO country code here (e.g., US, CA) |
country_code | String | DEPRECATED Use the country field instead and send the country code |
email | String | Order email takes precedence, followed by shipping address email, then billing address email |
phone | String |
Referenced By
- CreateOrderInput Type
- CreateWholesaleOrderInput Type
- ShippedPackagesInput Type
- UpdateOrderInput Type
Example
{
"first_name": "abc123",
"last_name": "abc123",
"company": "abc123",
"address1": "abc123",
"address2": "abc123",
"city": "abc123",
"state": "abc123",
"state_code": "abc123",
"zip": "abc123",
"country": "abc123",
"country_code": "abc123",
"email": "abc123",
"phone": "abc123"
}