PUT 3dCartWebAPI/v1/Products/{catalogid}/Serials/{serialid}
Updates a specific serial from a specific Product
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catalogid |
CatalogID |
integer |
Required |
serialid |
FeatureID |
integer |
Required |
Body Parameters
A Json or XML object containing the new features
SerialName | Description | Type | Additional information |
---|---|---|---|
SerialID |
Primary key, auto-incremented. database reference = serials.id |
integer |
None. |
SerialUses |
database reference = serials.used |
integer |
None. |
SerialCode |
database reference = serials.serial |
string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
Sample:
{ "SerialID": 1, "SerialUses": 1, "SerialCode": "sample string 1" }
application/xml, text/xml
Sample:
<Serial xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SerialID>1</SerialID> <SerialUses>1</SerialUses> <SerialCode>sample string 1</SerialCode> </Serial>
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":"SerialID", "Value":"1234", "Status":"200", "Message":"updated 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. |