brucealdridge / VendAPI

Class for accessing the api for vend on vendhq.com
Other
36 stars 22 forks source link

How to add images to new product #27

Closed VCardWEb closed 8 years ago

VCardWEb commented 8 years ago

When adding a new product with basic information such as name, price, sku, description, everything is fine, but how can I add images as well?...

thanks.

brucealdridge commented 8 years ago

I don't think you can add images via the api. Maybe best to check with vend? - https://developers.vendhq.com/

VCardWEb commented 8 years ago

I'm sorry for my late response, I spoke to one of the VEND developers, you are correct, is not posible with the VEND API v1, but there is a beta option for VEND API v2, here is the link to the beta version, LINK, hat I didn't understood is what is it that I have to send, the actual post $_FILES();, the url where the images are, or, the image in base64... I guess i'm gonna have to play around with the beta version and see if I can implement it to your code.. thank you for your code it has been useful.