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

FieldTypeDescription
first_nameString
last_nameString
companyString
address1String
address2String
cityString
stateString

Send the state code here (e.g., NY, CA)

state_codeStringDEPRECATED Use the state field instead and send the state code
zipString
countryString

Send the ISO country code here (e.g., US, CA)

country_codeStringDEPRECATED Use the country field instead and send the country code
emailString

Order email takes precedence, followed by shipping address email, then billing address email

phoneString

Referenced By

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"
}