POST api/Products
Request Information
URI Parameters
None.
Body Parameters
ProductData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Sku | string |
None. |
|
| Identifier | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AdditionalInfo | string |
None. |
|
| ProductTypeId | globally unique identifier |
None. |
|
| ProductImageId | globally unique identifier |
None. |
|
| InventoryPackageId | globally unique identifier |
None. |
|
| TaxStatus | integer |
None. |
|
| Weight | decimal number |
None. |
|
| Updated | date |
None. |
|
| PrefVendorRefFullName | string |
None. |
|
| PrefVendorRefListID | string |
None. |
|
| ManufacturerPartNumber | string |
None. |
|
| IsDeleted | integer |
None. |
|
| SalesTaxCodeRefFullName | string |
None. |
|
| ItemType | string |
None. |
|
| TaxRate | decimal number |
None. |
|
| DiscountRate | decimal number |
None. |
|
| DiscountRatePercent | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "229e84e7-8047-4f81-9fe7-225371f6c07d",
"Sku": "sample string 1",
"Identifier": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"AdditionalInfo": "sample string 5",
"ProductTypeId": "c832c408-0419-4e49-a054-27bd0928ce34",
"ProductImageId": "c24b1162-8a27-49b2-991a-d7d71b36b0d8",
"InventoryPackageId": "e4c5ea2a-67a7-4922-8179-97fa90955e43",
"TaxStatus": 1,
"Weight": 1.0,
"Updated": "2025-10-26T03:19:53.8312474-04:00",
"PrefVendorRefFullName": "sample string 6",
"PrefVendorRefListID": "sample string 7",
"ManufacturerPartNumber": "sample string 8",
"IsDeleted": 1,
"SalesTaxCodeRefFullName": "sample string 9",
"ItemType": "sample string 10",
"TaxRate": 1.0,
"DiscountRate": 1.0,
"DiscountRatePercent": 1.0
}
application/xml, text/xml
Sample:
<ProductData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IosWebApi.Models"> <AdditionalInfo>sample string 5</AdditionalInfo> <Description>sample string 4</Description> <DiscountRate>1</DiscountRate> <DiscountRatePercent>1</DiscountRatePercent> <Id>229e84e7-8047-4f81-9fe7-225371f6c07d</Id> <Identifier>sample string 2</Identifier> <InventoryPackageId>e4c5ea2a-67a7-4922-8179-97fa90955e43</InventoryPackageId> <IsDeleted>1</IsDeleted> <ItemType>sample string 10</ItemType> <ManufacturerPartNumber>sample string 8</ManufacturerPartNumber> <Name>sample string 3</Name> <PrefVendorRefFullName>sample string 6</PrefVendorRefFullName> <PrefVendorRefListID>sample string 7</PrefVendorRefListID> <ProductImageId>c24b1162-8a27-49b2-991a-d7d71b36b0d8</ProductImageId> <ProductTypeId>c832c408-0419-4e49-a054-27bd0928ce34</ProductTypeId> <SalesTaxCodeRefFullName>sample string 9</SalesTaxCodeRefFullName> <Sku>sample string 1</Sku> <TaxRate>1</TaxRate> <TaxStatus>1</TaxStatus> <Updated>2025-10-26T03:19:53.8312474-04:00</Updated> <Weight>1</Weight> </ProductData>
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. |