POST Products/Post
Request Information
URI Parameters
None.
Body Parameters
ProductName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
SellerID | integer |
None. |
|
SubSellerID | integer |
None. |
|
SellerSubSellerID | integer |
None. |
|
SellerSubSellerName | string |
None. |
|
SellerName | string |
None. |
|
SellerImage | string |
None. |
|
Type | TypeEnum |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
ListPrice | decimal number |
None. |
|
SalesPrice | decimal number |
None. |
|
DiscountPercentage | decimal number |
None. |
|
ImageUrl | string |
None. |
|
Active | boolean |
None. |
|
ShowOnSearch | boolean |
None. |
|
InsertDate | date |
None. |
|
UpdateDate | date |
None. |
|
ExternalCode | string |
None. |
|
Sku | string |
None. |
|
Reference | string |
None. |
|
Brand | string |
None. |
|
Specification | string |
None. |
|
FirstCategory | string |
None. |
|
SecondCategory | string |
None. |
|
ThirdCategory | string |
None. |
|
FourthCategory | string |
None. |
|
Parameters | Collection of Parameter |
None. |
|
ProductImages | Collection of Image |
None. |
|
SalesPriceRange | SalesPriceRange |
None. |
|
ParentProductSku | string |
None. |
|
MaxItemQuantity | integer |
None. |
|
MaxUniqueItemsQuantity | integer |
None. |
|
TaxFactorExhibition | decimal number |
None. |
|
CampaignsPrice | Collection of CampaignPrice |
None. |
|
OfferId | string |
None. |
|
NameSuggest | Collection of Suggest |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "SellerID": 6, "SubSellerID": 7, "SellerSubSellerID": 8, "SellerSubSellerName": "sample string 9", "SellerName": "sample string 10", "SellerImage": "sample string 11", "Type": 1, "Name": "sample string 12", "Description": "sample string 13", "ListPrice": 1.1, "SalesPrice": 14.1, "DiscountPercentage": 15.1, "ImageUrl": "sample string 16", "Active": true, "ShowOnSearch": true, "InsertDate": "2025-04-04T02:22:50.0244041+00:00", "UpdateDate": "2025-04-04T02:22:50.0244041+00:00", "ExternalCode": "sample string 21", "Sku": "sample string 22", "Reference": "sample string 23", "Brand": "sample string 24", "Specification": "sample string 25", "FirstCategory": "sample string 26", "SecondCategory": "sample string 27", "ThirdCategory": "sample string 28", "FourthCategory": "sample string 29", "Parameters": [ { "ParameterID": 1, "Value": "sample string 2", "InsertDate": "2025-04-04T02:22:50.0244041+00:00", "UpdateDate": "2025-04-04T02:22:50.0244041+00:00" }, { "ParameterID": 1, "Value": "sample string 2", "InsertDate": "2025-04-04T02:22:50.0244041+00:00", "UpdateDate": "2025-04-04T02:22:50.0244041+00:00" } ], "ProductImages": [ { "ImageUrl": "sample string 1", "Size": 1, "RelatedImageGuid": "sample string 2" }, { "ImageUrl": "sample string 1", "Size": 1, "RelatedImageGuid": "sample string 2" } ], "SalesPriceRange": { "ID": 1, "Name": "sample string 2" }, "ParentProductSku": "sample string 30", "MaxItemQuantity": 31, "MaxUniqueItemsQuantity": 32, "TaxFactorExhibition": 0.0, "CampaignsPrice": [ { "Active": true, "idSupplierCampaign": "sample string 2", "DiscontPercentage": "sample string 3", "ListPrice": 4.1 }, { "Active": true, "idSupplierCampaign": "sample string 2", "DiscontPercentage": "sample string 3", "ListPrice": 4.1 } ], "OfferId": "sample string 33", "NameSuggest": [ { "input": "sample string 1", "weight": "sample string 2" }, { "input": "sample string 1", "weight": "sample string 2" } ] }
application/octet-stream
Sample:
{"id":"sample string 1","SellerID":6,"SubSellerID":7,"SellerSubSellerID":8,"SellerSubSellerName":"sample string 9","SellerName":"sample string 10","SellerImage":"sample string 11","Type":1,"Name":"sample string 12","Description":"sample string 13","ListPrice":1.1,"SalesPrice":14.1,"DiscountPercentage":15.1,"ImageUrl":"sample string 16","Active":true,"ShowOnSearch":true,"InsertDate":"2025-04-04T02:22:50.0244041+00:00","UpdateDate":"2025-04-04T02:22:50.0244041+00:00","ExternalCode":"sample string 21","Sku":"sample string 22","Reference":"sample string 23","Brand":"sample string 24","Specification":"sample string 25","FirstCategory":"sample string 26","SecondCategory":"sample string 27","ThirdCategory":"sample string 28","FourthCategory":"sample string 29","Parameters":[{"ParameterID":1,"Value":"sample string 2","InsertDate":"2025-04-04T02:22:50.0244041+00:00","UpdateDate":"2025-04-04T02:22:50.0244041+00:00"},{"ParameterID":1,"Value":"sample string 2","InsertDate":"2025-04-04T02:22:50.0244041+00:00","UpdateDate":"2025-04-04T02:22:50.0244041+00:00"}],"ProductImages":[{"ImageUrl":"sample string 1","Size":1,"RelatedImageGuid":"sample string 2"},{"ImageUrl":"sample string 1","Size":1,"RelatedImageGuid":"sample string 2"}],"SalesPriceRange":{"ID":1,"Name":"sample string 2"},"ParentProductSku":"sample string 30","MaxItemQuantity":31,"MaxUniqueItemsQuantity":32,"TaxFactorExhibition":0.0,"CampaignsPrice":[{"Active":true,"idSupplierCampaign":"sample string 2","DiscontPercentage":"sample string 3","ListPrice":4.1},{"Active":true,"idSupplierCampaign":"sample string 2","DiscontPercentage":"sample string 3","ListPrice":4.1}],"OfferId":"sample string 33","NameSuggest":[{"input":"sample string 1","weight":"sample string 2"},{"input":"sample string 1","weight":"sample string 2"}]}
application/xml, text/xml
Sample:
<Product xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>sample string 1</id> <SupplierID>2</SupplierID> <SubSupplierID>3</SubSupplierID> <ParticipantListPrice>sample string 4</ParticipantListPrice> <ParticipantSalesPrice>sample string 5</ParticipantSalesPrice> <SellerID>6</SellerID> <SubSellerID>7</SubSellerID> <SellerSubSellerID>8</SellerSubSellerID> <SellerSubSellerName>sample string 9</SellerSubSellerName> <SellerName>sample string 10</SellerName> <SellerImage>sample string 11</SellerImage> <Type>PhysicalVoucher</Type> <Name>sample string 12</Name> <Description>sample string 13</Description> <ListPrice>1.1</ListPrice> <SalesPrice>14.1</SalesPrice> <DiscountPercentage>15.1</DiscountPercentage> <ImageUrl>sample string 16</ImageUrl> <Active>true</Active> <ShowOnSearch>true</ShowOnSearch> <InsertDate>2025-04-04T02:22:50.0244041+00:00</InsertDate> <UpdateDate>2025-04-04T02:22:50.0244041+00:00</UpdateDate> <ExternalCode>sample string 21</ExternalCode> <Sku>sample string 22</Sku> <Reference>sample string 23</Reference> <Brand>sample string 24</Brand> <Specification>sample string 25</Specification> <FirstCategory>sample string 26</FirstCategory> <SecondCategory>sample string 27</SecondCategory> <ThirdCategory>sample string 28</ThirdCategory> <FourthCategory>sample string 29</FourthCategory> <Parameters> <Parameter> <ParameterID>1</ParameterID> <Value>sample string 2</Value> <InsertDate>2025-04-04T02:22:50.0244041+00:00</InsertDate> <UpdateDate>2025-04-04T02:22:50.0244041+00:00</UpdateDate> </Parameter> <Parameter> <ParameterID>1</ParameterID> <Value>sample string 2</Value> <InsertDate>2025-04-04T02:22:50.0244041+00:00</InsertDate> <UpdateDate>2025-04-04T02:22:50.0244041+00:00</UpdateDate> </Parameter> </Parameters> <ProductImages> <Image> <ImageUrl>sample string 1</ImageUrl> <Size>SMALL</Size> <RelatedImageGuid>sample string 2</RelatedImageGuid> </Image> <Image> <ImageUrl>sample string 1</ImageUrl> <Size>SMALL</Size> <RelatedImageGuid>sample string 2</RelatedImageGuid> </Image> </ProductImages> <SalesPriceRange> <ID>1</ID> <Name>sample string 2</Name> </SalesPriceRange> <ParentProductSku>sample string 30</ParentProductSku> <MaxItemQuantity>31</MaxItemQuantity> <MaxUniqueItemsQuantity>32</MaxUniqueItemsQuantity> <CampaignsPrice> <CampaignPrice> <Active>true</Active> <idSupplierCampaign>sample string 2</idSupplierCampaign> <DiscontPercentage>sample string 3</DiscontPercentage> <ListPrice>4.1</ListPrice> </CampaignPrice> <CampaignPrice> <Active>true</Active> <idSupplierCampaign>sample string 2</idSupplierCampaign> <DiscontPercentage>sample string 3</DiscontPercentage> <ListPrice>4.1</ListPrice> </CampaignPrice> </CampaignsPrice> <OfferId>sample string 33</OfferId> <NameSuggest> <Suggest> <input>sample string 1</input> <weight>sample string 2</weight> </Suggest> <Suggest> <input>sample string 1</input> <weight>sample string 2</weight> </Suggest> </NameSuggest> </Product>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.