Type
|
Info
|
List
|
Products
|
URL
|
http://{domain}/api/v2/products/info_image.json
|
Accepts Filters
|
No
|
Output Attributes
|
No
|
Products Image Info Data
Gets Products Image info.
Filters
Filter the Product Images into a list.
Parameter
|
Type
|
Rules
|
Example
|
id
|
int / array
|
one id or multiple Lead Commerce product ids
|
1 or array(3,8,9,45)
|
Response
Example JSON returned
{
code: "200",
data: {
1: [
{
filename: "/www/flex/assets/images/products/1/men-vest-blue.png",
alt_text: "",
title: "",
last_modified: "1431988420",
base_64: "data:image/png;base64,iVBORw0K...GgoGXRFWHR2Z0FyZAAAA"
},
{
filename: "/www/flex/assets/images/products/1/men-vest-red.png",
alt_text: "",
title: "",
last_modified: "1431988420",
base_64:"data:image/png;base64,iVBORw0K...GgoGXRFWHRTb20yZBBBB"
}
],
2: [
{
filename: "/www/flex/assets/images/products/1/woman-hoddie-blue.png",
alt_text: "",
title: "",
last_modified: "1431988420",
base_64:"data:image/png;base64,iVBORw0K...GgoGXRFWHb2Z0yWQSZCCC"
}
]
}
}