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": "e590f7d3-8d7c-460a-88f6-6c1c17fa0800",
"Sku": "sample string 1",
"Identifier": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"AdditionalInfo": "sample string 5",
"ProductTypeId": "8d2b46af-4f07-4010-b3dc-0a1d8cd59513",
"ProductImageId": "fdc97910-1298-454c-ba39-3fdafb08be67",
"InventoryPackageId": "15a8f78e-fb67-4198-9ee4-e1a93c6ed25e",
"TaxStatus": 1,
"Weight": 1.0,
"Updated": "2025-10-26T03:40:01.3326579-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>e590f7d3-8d7c-460a-88f6-6c1c17fa0800</Id> <Identifier>sample string 2</Identifier> <InventoryPackageId>15a8f78e-fb67-4198-9ee4-e1a93c6ed25e</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>fdc97910-1298-454c-ba39-3fdafb08be67</ProductImageId> <ProductTypeId>8d2b46af-4f07-4010-b3dc-0a1d8cd59513</ProductTypeId> <SalesTaxCodeRefFullName>sample string 9</SalesTaxCodeRefFullName> <Sku>sample string 1</Sku> <TaxRate>1</TaxRate> <TaxStatus>1</TaxStatus> <Updated>2025-10-26T03:40:01.3326579-04:00</Updated> <Weight>1</Weight> </ProductData>
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. |