Address is a common object that you can find on Cart, Customers and Orders.

Attributes

Title

Type

Description

id

int

ID of the address

shipping

array

Contains shipping info. Fields:

  • first_name
  • last_name
  • company
  • street
  • suite
  • city
  • country
  • state
  • zip

billing

array

Contains billing info. Fields:

  • first_name
  • last_name
  • company
  • street
  • suite
  • city
  • country
  • state
  • zip

phone

string

Phone number

"address": [
  {
    "id": 7932,
    "shipping": {
      "first_name": "First",
      "last_name": "Last",
      "company": "Company name",
      "street": "Street",
      "suite": "1B",
      "city": "Stocktown",
      "country": "US",
      "state": "CA",
      "zip": "12345"
  },
  "billing": {
      "first_name": "First",
      "last_name": "Last",
      "company": "Company name",
      "street": "Street",
      "suite": "1B",
      "city": "Stocktown",
      "country": "US",
      "state": "CA",
      "zip": "12345"
    },
  "phone": "123456789"
}