HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Order CustomerInfo

Data structure of customer_info

FieldColumn TypeDescriptionExample
genderStringGender
性別
male / female / Other
birthdayStringBirthday
生日
2018-07-05
custom_dataArrayCustom Fields
客製化欄位
{ "value": "line_id_123456",
"name_translations": {
"zh-hant": "LineID"},
"field_id": "5b51c33fe3880967330000fd"}

JSON Sample

{
  "customer_info": {
    "gender": "male",
    "birthday": "2018-07-05",
    "custom_data": [
      {
        "value": "line_id_123456",
        "name_translations": {
          "zh-hant": "LineID"
        },
        "field_id": "5b51c33fe3880967330000fd"
      },
      {
        "value": "false",
        "name_translations": {
          "zh-hant": "是否送人?"
        },
        "field_id": "5b51c347e3880967330000ff"
      }
    ]
  }
}