POST api/Customer
Request Information
URI Parameters
None.
Body Parameters
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| squareId | string |
None. |
|
| name | string |
None. |
|
| familyName | string |
None. |
|
| string |
None. |
||
| number | string |
None. |
|
| birthday | string |
None. |
|
| createdAt | date |
None. |
|
| updatedAt | date |
None. |
|
| profileImg | string |
None. |
|
| preferredName | string |
None. |
|
| membership | integer |
None. |
|
| expiry | string |
None. |
|
| creationSource | string |
None. |
|
| addressLine1 | string |
None. |
|
| addressLine2 | string |
None. |
|
| locality | string |
None. |
|
| administrativeDistrictLevel1 | string |
None. |
|
| postalCode | string |
None. |
|
| country | string |
None. |
|
| emailUnsubscribed | integer |
None. |
|
| isActive | integer |
None. |
|
| isDeleted | integer |
None. |
|
| consentForm | string |
None. |
|
| accountId | string |
None. |
|
| plusStatus | string |
None. |
|
| memberSince | string |
None. |
|
| formerName | string |
None. |
|
| plusPlan | string |
None. |
|
| plusEligible | integer |
None. |
|
| groups | string |
None. |
|
| megaSmsNotifications | integer |
None. |
|
| membershipForm | string |
None. |
|
| MembershipCreatedAt | date |
None. |
|
| lastVisited | date |
None. |
|
| AppointmentCustomers | Collection of AppointmentCustomer |
None. |
|
| Appointments | Collection of Appointment |
None. |
|
| CommunicationLogs | Collection of CommunicationLog |
None. |
|
| GroupMembers | Collection of GroupMember |
None. |
|
| MergedCustomers | Collection of MergedCustomer |
None. |
|
| PlusMemberCustomer | PlusMemberCustomer |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |