Skip to main content
Version: 202201

Customer Details

GET 

/openapi/2022-01/customers/:id

Retrieve details of a specific customer using its unique identifier.

Request

Path Parameters

    id stringrequired

    Customer's ID

Responses

200

Schema
    customer object
    idstring
    Example: 2dd957e3-2051-4cdf-8584-9c0046b4d1ae
    first_namestring
    Example: ryan
    last_namestring
    Example: zhang
    namestring
    Example: ryan zhang
    emailstring
    phonestring
    Example: +8615014471143
    phone_area_code
    contact_typestring
    Example: email
    accepts_marketingboolean
    Default value: true
    Example: true
    source
    free_taxboolean
    Default value: true
    Example: false
    registeredboolean
    Default value: true
    Example: false
    orders_countinteger
    Default value: 0
    Example: 0
    first_order_atstring
    Example: 2024-04-17T09:05:06Z
    last_order_atstring
    Example: 2024-04-17T09:05:06Z
    total_spentstring
    Example: 0.00
    tagsstring
    Example: New Customer
    created_atstring
    Example: 2024-04-17T11:10:33Z
    updated_atstring
    Example: 2024-04-17T11:10:33Z
    subscribed_flaginteger
    Default value: 0
    Example: 5
    sms_subscribed_flaginteger
    Default value: 0
    Example: 5
    accepts_sms_marketingboolean
    Default value: true
    Example: true
    default_address object
    idstring
    Example: 9ffa8dc0-25b8-4424-832e-bab46fcfeb20
    customer_idstring
    Example: 2dd957e3-2051-4cdf-8584-9c0046b4d1ae
    first_namestring
    Example: test
    last_namestring
    Example: test
    companystring
    Example:
    citystring
    Example: 深圳
    provincestring
    Example:
    countrystring
    Example: Aland lslands
    zipstring
    Example: 515300
    province_codestring
    Example:
    country_codestring
    Example: AX
    genderstring
    Example:
    phonestring
    Example: +86 150 1447 1143
    phone_area_code
    areastring
    Example:
    emailstring
    namestring
    Example: test test
    address1string
    Example: 6 三聖街
    address2string
    Example: 1111
    country_namestring
    Example: Aland lslands
    defaultboolean
    Default value: true
    Example: true
    addresses object[]
  • Array [
  • idstring
    Example: 9ffa8dc0-25b8-4424-832e-bab46fcfeb20
    customer_idstring
    Example: 2dd957e3-2051-4cdf-8584-9c0046b4d1ae
    first_namestring
    Example: test
    last_namestring
    Example: test
    companystring
    Example:
    citystring
    Example: 深圳
    provincestring
    Example:
    countrystring
    Example: Aland lslands
    zipstring
    Example: 515300
    province_codestring
    Example:
    country_codestring
    Example: AX
    genderstring
    Example:
    phonestring
    Example: +86 150 1447 1143
    phone_area_code
    areastring
    Example:
    emailstring
    namestring
    Example: test test
    address1string
    Example: 6 三聖街
    address2string
    Example: 1111
    country_namestring
    Example: Aland lslands
    defaultboolean
    Default value: true
    Example: true
  • ]