GET 3dCartWebAPI/v1/Products/{catalogid}/Images


Get the images from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogid

Catalog ID

integer

Default value is 0

limit

Maximum number of items that can be returned

integer

Default value is 0

offset

Starting point for the return data

integer

Default value is 0

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of ImageGallery
NameDescriptionTypeAdditional 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "ImageGalleryID": 1,
    "ImageGalleryFile": "sample string 1",
    "ImageGalleryCaption": "sample string 2",
    "ImageGallerySorting": 3
  },
  {
    "ImageGalleryID": 1,
    "ImageGalleryFile": "sample string 1",
    "ImageGalleryCaption": "sample string 2",
    "ImageGallerySorting": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfImageGallery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ImageGallery>
    <ImageGalleryID>1</ImageGalleryID>
    <ImageGalleryFile>sample string 1</ImageGalleryFile>
    <ImageGalleryCaption>sample string 2</ImageGalleryCaption>
    <ImageGallerySorting>3</ImageGallerySorting>
  </ImageGallery>
  <ImageGallery>
    <ImageGalleryID>1</ImageGalleryID>
    <ImageGalleryFile>sample string 1</ImageGalleryFile>
    <ImageGalleryCaption>sample string 2</ImageGalleryCaption>
    <ImageGallerySorting>3</ImageGallerySorting>
  </ImageGallery>
</ArrayOfImageGallery>