POST api/Products
Request Information
URI Parameters
None.
Body Parameters
Collection of SupplierProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| RequestID | string |
None. |
|
| SupplierNo | string |
None. |
|
| SupplierName | string |
None. |
|
| BrandNo | string |
None. |
|
| BrandName | string |
None. |
|
| CategoryNo | string |
None. |
|
| CategoryName | string |
None. |
|
| StyleID | string |
None. |
|
| StyleName | string |
None. |
|
| GenderID | string |
None. |
|
| GenderName | string |
None. |
|
| SKU | string |
None. |
|
| ItemNo | string |
None. |
|
| Size | string |
None. |
|
| SizeType | string |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| SalePrice | decimal number |
None. |
|
| CostPrice | decimal number |
None. |
|
| DiscountRate | integer |
None. |
|
| PurchasedAt | date |
None. |
|
| Barcode | string |
None. |
|
| Cabinet | string |
None. |
|
| CreatedAt | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedAt | date |
None. |
|
| UpdatedBy | string |
None. |
|
| IsModified | boolean |
None. |
|
| LastModifiedAt | date |
None. |
|
| LastModifiedDesc | string |
None. |
|
| LastPrice | decimal number |
None. |
|
| LastSalePrice | decimal number |
None. |
|
| LastPurchasedAt | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": "28c9b9a6-79b5-4f28-8f92-06629872e945",
"RequestID": "sample string 2",
"SupplierNo": "sample string 3",
"SupplierName": "sample string 4",
"BrandNo": "sample string 5",
"BrandName": "sample string 6",
"CategoryNo": "sample string 7",
"CategoryName": "sample string 8",
"StyleID": "sample string 9",
"StyleName": "sample string 10",
"GenderID": "sample string 11",
"GenderName": "sample string 12",
"SKU": "sample string 13",
"ItemNo": "sample string 14",
"Size": "sample string 15",
"SizeType": "sample string 16",
"Name": "sample string 17",
"Price": 18.0,
"SalePrice": 19.0,
"CostPrice": 1.0,
"DiscountRate": 1,
"PurchasedAt": "2025-12-06T14:19:14.9991694+08:00",
"Barcode": "sample string 21",
"Cabinet": "sample string 22",
"CreatedAt": "2025-12-06T14:19:14.9991694+08:00",
"CreatedBy": "sample string 24",
"UpdatedAt": "2025-12-06T14:19:14.9991694+08:00",
"UpdatedBy": "sample string 25",
"IsModified": true,
"LastModifiedAt": "2025-12-06T14:19:14.9991694+08:00",
"LastModifiedDesc": "sample string 27",
"LastPrice": 1.0,
"LastSalePrice": 1.0,
"LastPurchasedAt": "2025-12-06T14:19:14.9991694+08:00"
},
{
"ID": "28c9b9a6-79b5-4f28-8f92-06629872e945",
"RequestID": "sample string 2",
"SupplierNo": "sample string 3",
"SupplierName": "sample string 4",
"BrandNo": "sample string 5",
"BrandName": "sample string 6",
"CategoryNo": "sample string 7",
"CategoryName": "sample string 8",
"StyleID": "sample string 9",
"StyleName": "sample string 10",
"GenderID": "sample string 11",
"GenderName": "sample string 12",
"SKU": "sample string 13",
"ItemNo": "sample string 14",
"Size": "sample string 15",
"SizeType": "sample string 16",
"Name": "sample string 17",
"Price": 18.0,
"SalePrice": 19.0,
"CostPrice": 1.0,
"DiscountRate": 1,
"PurchasedAt": "2025-12-06T14:19:14.9991694+08:00",
"Barcode": "sample string 21",
"Cabinet": "sample string 22",
"CreatedAt": "2025-12-06T14:19:14.9991694+08:00",
"CreatedBy": "sample string 24",
"UpdatedAt": "2025-12-06T14:19:14.9991694+08:00",
"UpdatedBy": "sample string 25",
"IsModified": true,
"LastModifiedAt": "2025-12-06T14:19:14.9991694+08:00",
"LastModifiedDesc": "sample string 27",
"LastPrice": 1.0,
"LastSalePrice": 1.0,
"LastPurchasedAt": "2025-12-06T14:19:14.9991694+08:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfSupplierProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.AquaFeb.StockCenter.Models">
<SupplierProduct>
<Barcode>sample string 21</Barcode>
<BrandName>sample string 6</BrandName>
<BrandNo>sample string 5</BrandNo>
<Cabinet>sample string 22</Cabinet>
<CategoryName>sample string 8</CategoryName>
<CategoryNo>sample string 7</CategoryNo>
<CostPrice>1</CostPrice>
<CreatedAt>2025-12-06T14:19:14.9991694+08:00</CreatedAt>
<CreatedBy>sample string 24</CreatedBy>
<DiscountRate>1</DiscountRate>
<GenderID>sample string 11</GenderID>
<GenderName>sample string 12</GenderName>
<ID>28c9b9a6-79b5-4f28-8f92-06629872e945</ID>
<IsModified>true</IsModified>
<ItemNo>sample string 14</ItemNo>
<LastModifiedAt>2025-12-06T14:19:14.9991694+08:00</LastModifiedAt>
<LastModifiedDesc>sample string 27</LastModifiedDesc>
<LastPrice>1</LastPrice>
<LastPurchasedAt>2025-12-06T14:19:14.9991694+08:00</LastPurchasedAt>
<LastSalePrice>1</LastSalePrice>
<Name>sample string 17</Name>
<Price>18</Price>
<PurchasedAt>2025-12-06T14:19:14.9991694+08:00</PurchasedAt>
<RequestID>sample string 2</RequestID>
<SKU>sample string 13</SKU>
<SalePrice>19</SalePrice>
<Size>sample string 15</Size>
<SizeType>sample string 16</SizeType>
<StyleID>sample string 9</StyleID>
<StyleName>sample string 10</StyleName>
<SupplierName>sample string 4</SupplierName>
<SupplierNo>sample string 3</SupplierNo>
<UpdatedAt>2025-12-06T14:19:14.9991694+08:00</UpdatedAt>
<UpdatedBy>sample string 25</UpdatedBy>
</SupplierProduct>
<SupplierProduct>
<Barcode>sample string 21</Barcode>
<BrandName>sample string 6</BrandName>
<BrandNo>sample string 5</BrandNo>
<Cabinet>sample string 22</Cabinet>
<CategoryName>sample string 8</CategoryName>
<CategoryNo>sample string 7</CategoryNo>
<CostPrice>1</CostPrice>
<CreatedAt>2025-12-06T14:19:14.9991694+08:00</CreatedAt>
<CreatedBy>sample string 24</CreatedBy>
<DiscountRate>1</DiscountRate>
<GenderID>sample string 11</GenderID>
<GenderName>sample string 12</GenderName>
<ID>28c9b9a6-79b5-4f28-8f92-06629872e945</ID>
<IsModified>true</IsModified>
<ItemNo>sample string 14</ItemNo>
<LastModifiedAt>2025-12-06T14:19:14.9991694+08:00</LastModifiedAt>
<LastModifiedDesc>sample string 27</LastModifiedDesc>
<LastPrice>1</LastPrice>
<LastPurchasedAt>2025-12-06T14:19:14.9991694+08:00</LastPurchasedAt>
<LastSalePrice>1</LastSalePrice>
<Name>sample string 17</Name>
<Price>18</Price>
<PurchasedAt>2025-12-06T14:19:14.9991694+08:00</PurchasedAt>
<RequestID>sample string 2</RequestID>
<SKU>sample string 13</SKU>
<SalePrice>19</SalePrice>
<Size>sample string 15</Size>
<SizeType>sample string 16</SizeType>
<StyleID>sample string 9</StyleID>
<StyleName>sample string 10</StyleName>
<SupplierName>sample string 4</SupplierName>
<SupplierNo>sample string 3</SupplierNo>
<UpdatedAt>2025-12-06T14:19:14.9991694+08:00</UpdatedAt>
<UpdatedBy>sample string 25</UpdatedBy>
</SupplierProduct>
</ArrayOfSupplierProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.