PUT 3dCartWebAPI/v1/Products/{catalogid}/Serials/{serialid}


Updates a specific serial from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogid

CatalogID

integer

Required

serialid

FeatureID

integer

Required

Body Parameters

A Json or XML object containing the new features

Serial
NameDescriptionTypeAdditional 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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.