POST products/releaseNewProduct
Request Information
URI Parameters
None.
Body Parameters
ProductModelName | Description | Type | Additional information |
---|---|---|---|
info | Product |
None. |
|
skus | Collection of Collection of Object |
None. |
|
images | Collection of ProductImage |
None. |
|
properties | Collection of ProductProperty |
None. |
Request Formats
application/json, text/json
Sample:
{ "info": { "productId": "sample string 1", "categoryId": "sample string 2", "title": "sample string 3", "code": "sample string 4", "hscode": "sample string 5", "brandName": "sample string 6", "modelName": "sample string 7", "modelNumber": "sample string 8", "origin": "sample string 9", "marketDate": "2024-11-21T23:18:46.3089394+08:00", "shelfLife": 11, "deliveryLimit": 12, "length": 13.0, "width": 14.0, "height": 15.0, "weight": 16.0, "forPeople": "sample string 17", "sizeStandard": "sample string 18", "description": "sample string 19", "createDate": "sample string 20" }, "skus": null, "images": [ { "colorId": "sample string 1", "url": "sample string 2", "isDefault": true }, { "colorId": "sample string 1", "url": "sample string 2", "isDefault": true } ], "properties": [ { "pid": "sample string 1", "vid": "sample string 2", "value": "sample string 3" }, { "pid": "sample string 1", "vid": "sample string 2", "value": "sample string 3" } ] }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
msg | string |
None. |
|
entity | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2", "entity": {} }
application/xml, text/xml
Sample:
<ReturnResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.WebApi.Common"> <code>1</code> <entity /> <msg>sample string 2</msg> </ReturnResult>