POST api/sortiments/{sortimentId}/products
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sortimentId | string |
Required |
Body Parameters
ProductV3External| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | Collection of Translatable |
None. |
|
| Description | Collection of Translatable |
None. |
|
| PictureUrl | string |
None. |
|
| SKU | string |
None. |
|
| ProductInfoUrl | string |
None. |
|
| GTIN | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": [
{
"lang": "sample string 1",
"val": "sample string 2"
},
{
"lang": "sample string 1",
"val": "sample string 2"
}
],
"Description": [
{
"lang": "sample string 1",
"val": "sample string 2"
},
{
"lang": "sample string 1",
"val": "sample string 2"
}
],
"PictureUrl": "sample string 1",
"SKU": "sample string 2",
"ProductInfoUrl": "sample string 3",
"GTIN": "sample string 4"
}
application/xml, text/xml
Sample:
<ProductV3External xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qnips.CheckoutAPI.Models">
<Description xmlns:d2p1="http://schemas.datacontract.org/2004/07/Qnips.DataModels">
<d2p1:Translatable>
<d2p1:lang>sample string 1</d2p1:lang>
<d2p1:val>sample string 2</d2p1:val>
</d2p1:Translatable>
<d2p1:Translatable>
<d2p1:lang>sample string 1</d2p1:lang>
<d2p1:val>sample string 2</d2p1:val>
</d2p1:Translatable>
</Description>
<GTIN>sample string 4</GTIN>
<Name xmlns:d2p1="http://schemas.datacontract.org/2004/07/Qnips.DataModels">
<d2p1:Translatable>
<d2p1:lang>sample string 1</d2p1:lang>
<d2p1:val>sample string 2</d2p1:val>
</d2p1:Translatable>
<d2p1:Translatable>
<d2p1:lang>sample string 1</d2p1:lang>
<d2p1:val>sample string 2</d2p1:val>
</d2p1:Translatable>
</Name>
<PictureUrl>sample string 1</PictureUrl>
<ProductInfoUrl>sample string 3</ProductInfoUrl>
<SKU>sample string 2</SKU>
</ProductV3External>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.