POST api/Customers
Request Information
URI Parameters
None.
Body Parameters
CustomerData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| AccountNumber | string |
None. |
|
| Name | string |
None. |
|
| Updated | date |
None. |
|
| Contact | string |
None. |
|
| Phone | string |
None. |
|
| Fax | string |
None. |
|
| string |
None. |
||
| ShipToAddressee | string |
None. |
|
| ShipToAttention | string |
None. |
|
| ShipToAddressId | globally unique identifier |
None. |
|
| InventorySiteId | globally unique identifier |
None. |
|
| BillToAddressee | string |
None. |
|
| BillToAttention | string |
None. |
|
| BillToAddressId | globally unique identifier |
None. |
|
| CollectionTypeId | globally unique identifier |
None. |
|
| DeliveryDays | string |
None. |
|
| Status | integer |
None. |
|
| Notes | string |
None. |
|
| TaxCodeId | globally unique identifier |
None. |
|
| TermsId | globally unique identifier |
None. |
|
| BillToCustomerId | globally unique identifier |
None. |
|
| Identifier | string |
None. |
|
| PriceListId | globally unique identifier |
None. |
|
| IsDeleted | integer |
None. |
|
| LiqLicense | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "2186698c-8b05-4eff-900f-fb74737653be",
"AccountNumber": "sample string 2",
"Name": "sample string 3",
"Updated": "2025-10-26T02:43:09.1486037-04:00",
"Contact": "sample string 4",
"Phone": "sample string 5",
"Fax": "sample string 6",
"Email": "sample string 7",
"ShipToAddressee": "sample string 8",
"ShipToAttention": "sample string 9",
"ShipToAddressId": "a70b66ad-e9f4-40a1-bdfd-0a106fa82138",
"InventorySiteId": "0ba64280-c6e5-4a67-8d88-c929e7e0d1ac",
"BillToAddressee": "sample string 10",
"BillToAttention": "sample string 11",
"BillToAddressId": "8b652e73-6300-42fa-bc7f-a85719dae805",
"CollectionTypeId": "f6236117-b8bb-43af-8b74-b0e21449a6ba",
"DeliveryDays": "sample string 12",
"Status": 1,
"Notes": "sample string 13",
"TaxCodeId": "d5ddbbbc-f179-484a-b437-6c7316a66f41",
"TermsId": "9c24b15f-6eb4-40f2-8cd8-e4842cc94029",
"BillToCustomerId": "a33444c6-f4a9-4ba8-bd40-d58771786456",
"Identifier": "sample string 14",
"PriceListId": "51c248a8-bbba-474f-a678-3708037553ea",
"IsDeleted": 1,
"LiqLicense": "sample string 15"
}
application/xml, text/xml
Sample:
<CustomerData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IosWebApi.Models"> <AccountNumber>sample string 2</AccountNumber> <BillToAddressId>8b652e73-6300-42fa-bc7f-a85719dae805</BillToAddressId> <BillToAddressee>sample string 10</BillToAddressee> <BillToAttention>sample string 11</BillToAttention> <BillToCustomerId>a33444c6-f4a9-4ba8-bd40-d58771786456</BillToCustomerId> <CollectionTypeId>f6236117-b8bb-43af-8b74-b0e21449a6ba</CollectionTypeId> <Contact>sample string 4</Contact> <DeliveryDays>sample string 12</DeliveryDays> <Email>sample string 7</Email> <Fax>sample string 6</Fax> <Id>2186698c-8b05-4eff-900f-fb74737653be</Id> <Identifier>sample string 14</Identifier> <InventorySiteId>0ba64280-c6e5-4a67-8d88-c929e7e0d1ac</InventorySiteId> <IsDeleted>1</IsDeleted> <LiqLicense>sample string 15</LiqLicense> <Name>sample string 3</Name> <Notes>sample string 13</Notes> <Phone>sample string 5</Phone> <PriceListId>51c248a8-bbba-474f-a678-3708037553ea</PriceListId> <ShipToAddressId>a70b66ad-e9f4-40a1-bdfd-0a106fa82138</ShipToAddressId> <ShipToAddressee>sample string 8</ShipToAddressee> <ShipToAttention>sample string 9</ShipToAttention> <Status>1</Status> <TaxCodeId>d5ddbbbc-f179-484a-b437-6c7316a66f41</TaxCodeId> <TermsId>9c24b15f-6eb4-40f2-8cd8-e4842cc94029</TermsId> <Updated>2025-10-26T02:43:09.1486037-04:00</Updated> </CustomerData>
application/x-www-form-urlencoded
Sample:
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. |