Forum
Code for product image upload
Is there any documentation on uploading a product image with code? Along with thumbnail generation and all that of course. Would be really helpful.
Is there any documentation on uploading a product image with code? Along with thumbnail generation and all that of course. Would be really helpful.
Yes, it's here: https://docs.grabaperch.com/api/import/assets/
Does that works for products as well? am talking about the specific part where you upload a product image through the perch shop product ''panel''. Specifically how it links the assetid to the product.
We are using this https://docs.grabaperch.com/api/import/shop/products/ however when we put assetid and the asset ID we can't find the image anywhere in the product dynamic fields
Can you show us the code you're using?
This seems to be missing from the documentation.
See "Using the asset" https://docs.grabaperch.com/api/import/assets/