PUT 3dCartWebAPI/v1/Products/{catalogid}/Images/{imagegalleryid}
Updates a specific image from a specific Product
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catalogid |
CatalogID |
integer |
Required |
imagegalleryid |
ImageGalleryID |
integer |
Required |
Body Parameters
ImageGalleryName | Description | Type | Additional information |
---|---|---|---|
ImageGalleryID |
Primary key, auto-incremented. database reference = product_images.id |
integer |
None. |
ImageGalleryFile |
database reference = product_images.image |
string |
String length: inclusive between 0 and 65535 |
ImageGalleryCaption |
database reference = product_images.caption |
string |
String length: inclusive between 0 and 65535 |
ImageGallerySorting |
database reference = product_images.sorting |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ImageGalleryID": 1, "ImageGalleryFile": "sample string 1", "ImageGalleryCaption": "sample string 2", "ImageGallerySorting": 1 }
application/xml, text/xml
Sample:
<ImageGallery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ImageGalleryID>1</ImageGalleryID> <ImageGalleryFile>sample string 1</ImageGalleryFile> <ImageGalleryCaption>sample string 2</ImageGalleryCaption> <ImageGallerySorting>1</ImageGallerySorting> </ImageGallery>
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":"ImageGalleryID", "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. |