Product URL Images

I have a demo account for testing for potential integration with client.
Question is does the ecomm store have to be active to pass the URl to the product Image?
Loading relations of SaleLines and SaleLines.Item but not seeing it.
When looking at the product in the back end I uploaded an image then if I go to click on view in store it says its hidden but I don't have access to the ecom part so just wondering if that is the only way it show in the API call?
Thanks Scott
Question is does the ecomm store have to be active to pass the URl to the product Image?
Loading relations of SaleLines and SaleLines.Item but not seeing it.
When looking at the product in the back end I uploaded an image then if I go to click on view in store it says its hidden but I don't have access to the ecom part so just wondering if that is the only way it show in the API call?
Thanks Scott
8 comments
Like this in a generic sense:
1) Get the sales
2) Iterate through the sales
3) Get the image data from each sale
4) Get the employee data from each sale
This pulled some data in
https://api.lightspeedapp.com/API/Account/{{Account_ID}}/Image.json?load_relations=all
Looks like you have to build out the URL from the parse but its in Cloudinary already so saves a step....
Are all these images then hosted on LightSpeeds Cloudinary account?
Adrian Samuel
Software Developer
Lightspeed HQ
https://res.cloudinary.com/lightspeed-retail/image/upload/{{add your cloudinary settings here}}/{{public ID here}}/{file name here}}
Here is my settings - c_mpad,h_900,w_900
Here is my return public id - cdqgoif4fgi22rstojlg
My Return File Name - Bev 40.jpg
When I build this URL it doesn't display
{baseImageURL}/{settings}/{publicID}.{extension}
https://res.cloudinary.com/lightspeed-retail/image/upload/c_mpad,h_900,w_900/cdqgoif4fgi22rstojlg.Bev 40.jpg
Any help would be appreciated. Not sure if these reside on light speed and mapped to cloudinary or if we are supposed to upload them to our own cloudinary account
Like so:
Cloudinary hosts your images, you don't need your own account
Adrian Samuel
Software Developer
Lightspeed HQ
Thanks
https://res.cloudinary.com/lightspeed-retail/image/upload/c_mpad,h_900,w_900/cdqgoif4fgi22rstojlg.jpg
Adrian Samuel
Software Developer
Lightspeed HQ