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": "1a986990-ac32-457a-afcf-bc74b9a1bc35",
"AccountNumber": "sample string 2",
"Name": "sample string 3",
"Updated": "2025-10-26T03:33:26.5940814-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": "215ae05c-06d3-4c70-8c55-3c40e92d469b",
"InventorySiteId": "daedac35-3991-4609-9c61-9556884781b1",
"BillToAddressee": "sample string 10",
"BillToAttention": "sample string 11",
"BillToAddressId": "bd3a955e-c8b0-4fef-a800-d3fd4788825b",
"CollectionTypeId": "9c56cd6b-7102-4749-8f24-b977cec09666",
"DeliveryDays": "sample string 12",
"Status": 1,
"Notes": "sample string 13",
"TaxCodeId": "a1fbcf55-8293-4c22-aac6-7bcba4000e50",
"TermsId": "5eeeaee5-87ae-4154-a18d-6690e53d9be8",
"BillToCustomerId": "4deec87b-0fec-4866-86a7-5d126e14c745",
"Identifier": "sample string 14",
"PriceListId": "53de7552-5519-4abc-b454-f7a87df7661a",
"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>bd3a955e-c8b0-4fef-a800-d3fd4788825b</BillToAddressId> <BillToAddressee>sample string 10</BillToAddressee> <BillToAttention>sample string 11</BillToAttention> <BillToCustomerId>4deec87b-0fec-4866-86a7-5d126e14c745</BillToCustomerId> <CollectionTypeId>9c56cd6b-7102-4749-8f24-b977cec09666</CollectionTypeId> <Contact>sample string 4</Contact> <DeliveryDays>sample string 12</DeliveryDays> <Email>sample string 7</Email> <Fax>sample string 6</Fax> <Id>1a986990-ac32-457a-afcf-bc74b9a1bc35</Id> <Identifier>sample string 14</Identifier> <InventorySiteId>daedac35-3991-4609-9c61-9556884781b1</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>53de7552-5519-4abc-b454-f7a87df7661a</PriceListId> <ShipToAddressId>215ae05c-06d3-4c70-8c55-3c40e92d469b</ShipToAddressId> <ShipToAddressee>sample string 8</ShipToAddressee> <ShipToAttention>sample string 9</ShipToAttention> <Status>1</Status> <TaxCodeId>a1fbcf55-8293-4c22-aac6-7bcba4000e50</TaxCodeId> <TermsId>5eeeaee5-87ae-4154-a18d-6690e53d9be8</TermsId> <Updated>2025-10-26T03:33:26.5940814-04:00</Updated> </CustomerData>
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. |