GET products/images/URL/{product_id}?session={session}&options={options}

GET products/images/URL/{product_id}?session={session}&options={options}

Returns specific product images (in URL)

Request

URL parameters

NameDescriptionTypeAdditionnal InformationIntro version
product_id bigint Required
session Session identification (must be unique for the active session) string Length between 0 and 100
options Options for custom processing string Length between 0 and 100

Response

ImagesResultURL
NameDescriptionTypeAdditionnal InformationIntro version
product Product structure Collection of ProductImageURL
token Token of this result's last entry. This token can be passed the next time you call this API to get the rest of the modified data string
count Number of entries in this lot integer
queuecount Number of remaining prices to recover integer
returncode Return code: 0 for success integer
returnmsg Return message string
warnings Warnings (the instruction worked but you need to pay attention to warnings. May cause partial data loss (Truncation)) Collection of string
version API version string

Return format

application/json, text/json, application/x-www-form-urlencoded

Sample:
{
  "product": [
    {
      "product_id": 1,
      "images": {
        "image": [
          {
            "sequence": 1,
            "imagefilename": "sample string 2",
            "imageURL": "sample string 3"
          },
          {
            "sequence": 1,
            "imagefilename": "sample string 2",
            "imageURL": "sample string 3"
          }
        ]
      }
    },
    {
      "product_id": 1,
      "images": {
        "image": [
          {
            "sequence": 1,
            "imagefilename": "sample string 2",
            "imageURL": "sample string 3"
          },
          {
            "sequence": 1,
            "imagefilename": "sample string 2",
            "imageURL": "sample string 3"
          }
        ]
      }
    }
  ],
  "token": "sample string 1",
  "count": 2,
  "queuecount": 3,
  "returncode": 4,
  "returnmsg": "sample string 5",
  "warnings": [
    "sample string 1",
    "sample string 2"
  ],
  "version": "sample string 6"
}

application/xml, text/xml

Sample:
<result returncode="4" returnmsg="sample string 5" version="sample string 6" token="sample string 1" count="2" queuecount="3">
  <warnings>sample string 1</warnings>
  <warnings>sample string 2</warnings>
  <product product_id="1">
    <images>
      <image sequence="1" imagefilename="sample string 2" imageURL="sample string 3" />
      <image sequence="1" imagefilename="sample string 2" imageURL="sample string 3" />
    </images>
  </product>
  <product product_id="1">
    <images>
      <image sequence="1" imagefilename="sample string 2" imageURL="sample string 3" />
      <image sequence="1" imagefilename="sample string 2" imageURL="sample string 3" />
    </images>
  </product>
</result>

© 2024 - Acceo Solutions inc.