-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for posting product images #6
Comments
@bnoffer you found solution?, i am also stuck at that part.. trying to do some thing like this but no luck |
sadly not. I tried different variations incl. attachments etc., some went through without error, but no image showed up, some came back with an error. |
Hi! After some debugging I found out, how to upload images via the API. Here are some code snippets:
It is important to assign only "Attachment" and "MimeType" and to leave "Src" and "Binary" empty. The byte array for "Attachment" has to be a base 64 encoded string. Hope this helps. |
… i.e api/orders/{orderId}/order_items is now just api/orders/{orderId}/items
Hi,
I tried to upload new product images via the API, but was unable to figure out the way how it is done properly. Is there a example available or has someone implemented this successfully?
Thanks in advance!
The text was updated successfully, but these errors were encountered: