POST 3dCartWebAPI/v1/Products/{catalogid}/UpSelling
Adds a new upselling item to the system
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catalogid |
Catalog ID |
integer |
Required |
Body Parameters
A Json or XML object containing the new upselling item
UpSellingItemName | Description | Type | Additional information |
---|---|---|---|
UpSellingIndexID |
Primary key, auto-incremented. database reference = product_accessories.id |
integer |
None. |
UpSellingItemID |
database reference = product_accessories.accessory_id |
integer |
None. |
UpSellingItemSorting |
database reference = product_accessories.sorting |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpSellingIndexID": 1, "UpSellingItemID": 1, "UpSellingItemSorting": 1 }
application/xml, text/xml
Sample:
<UpSellingItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <UpSellingIndexID>1</UpSellingIndexID> <UpSellingItemID>1</UpSellingItemID> <UpSellingItemSorting>1</UpSellingItemSorting> </UpSellingItem>
Sample Request |
|
Please click here to download the C# Rest API Client project from GitHub.
not yet available
not yet available
Response Information
application/json, text/json
Sample:
[ { "Key":"UpSellingIndexID", "Value":"1234", "Status":"201", "Message":"Created successfully", } ]
Resource Description
HttpResponseMessageName | 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. |