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": "f97a91bb-22c5-47b5-b7ac-580de893741c",
"AccountNumber": "sample string 2",
"Name": "sample string 3",
"Updated": "2025-10-26T03:16:05.7732525-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": "7630240a-fc9c-4016-a78a-5bd76ce8e8f1",
"InventorySiteId": "3b27632c-0ac0-4809-bd27-8799f1387747",
"BillToAddressee": "sample string 10",
"BillToAttention": "sample string 11",
"BillToAddressId": "f1ddc3dc-2100-4407-ae62-342e0efc2f14",
"CollectionTypeId": "ff38a64c-d38f-4521-af3d-908b2487ec34",
"DeliveryDays": "sample string 12",
"Status": 1,
"Notes": "sample string 13",
"TaxCodeId": "f733f45d-190c-4d1c-b852-e890307e1f9b",
"TermsId": "c24511ee-1ee2-43a9-91a0-942367769be6",
"BillToCustomerId": "5600a0e0-5630-4d7a-8a27-d46142fd2728",
"Identifier": "sample string 14",
"PriceListId": "6bfb9b9a-f09d-4678-87c9-fc2762d63736",
"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>f1ddc3dc-2100-4407-ae62-342e0efc2f14</BillToAddressId> <BillToAddressee>sample string 10</BillToAddressee> <BillToAttention>sample string 11</BillToAttention> <BillToCustomerId>5600a0e0-5630-4d7a-8a27-d46142fd2728</BillToCustomerId> <CollectionTypeId>ff38a64c-d38f-4521-af3d-908b2487ec34</CollectionTypeId> <Contact>sample string 4</Contact> <DeliveryDays>sample string 12</DeliveryDays> <Email>sample string 7</Email> <Fax>sample string 6</Fax> <Id>f97a91bb-22c5-47b5-b7ac-580de893741c</Id> <Identifier>sample string 14</Identifier> <InventorySiteId>3b27632c-0ac0-4809-bd27-8799f1387747</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>6bfb9b9a-f09d-4678-87c9-fc2762d63736</PriceListId> <ShipToAddressId>7630240a-fc9c-4016-a78a-5bd76ce8e8f1</ShipToAddressId> <ShipToAddressee>sample string 8</ShipToAddressee> <ShipToAttention>sample string 9</ShipToAttention> <Status>1</Status> <TaxCodeId>f733f45d-190c-4d1c-b852-e890307e1f9b</TaxCodeId> <TermsId>c24511ee-1ee2-43a9-91a0-942367769be6</TermsId> <Updated>2025-10-26T03:16:05.7732525-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. |