Contact object
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | string (required) | Full name of contact. Limited to 255 characters. |
| line1 | string (required) | First line of the address. Limited to 128 characters. |
| line2 | string | Second line of the address. Limited to 128 characters. |
| suburb | string | City or suburb name. Limited to 128 characters. |
| state | string | State (or Town/City for NZ). Limited to 128 characters. |
| postcode | string (required) | ZIP or postal code. Limited to 128 characters. |
| countryCode | string (required) | The two-character ISO 3166-1 country code. |
| phoneNumber | string (required) | The phone number, in E.123 format. Limited to 32 characters. |
Example Contact Object
Australia
1 { 2 "name": "Joe Consumer", 3 "line1": "Level 5", 4 "line2": "406 Collins Street", 5 "suburb": "Melbourne", 6 "state": "VIC", 7 "postcode": "3000", 8 "countryCode": "AU", 9 "phoneNumber": "0400 000 000" 10 }
New Zealand
1 { 2 "name": "Joe Consumer", 3 "line1": "75 Queen St", 4 "suburb": "Auckland Central", 5 "state": "Auckland", 6 "postcode": "1010", 7 "countryCode": "NZ", 8 "phoneNumber": "0200 000 000" 9 }
United States of America
1 { 2 "name": "Joe Consumer", 3 "line1": "3655 Lawton St", 4 "suburb": "San Francisco", 5 "state": "CA", 6 "postcode": "94122", 7 "countryCode": "US", 8 "phoneNumber": "(415) 200-0000" 9 }