Need to add image prodcut via api but while creating media just create a blank page


This is the api {“title”:“some title”,"":"",“fileNamefileName”:{“fileName”:"good}} please help me,i need create media with image

There are 2 step required to add an image to media

  1. Create a media id by sending post request to Media with MediaFolderId like this

with body 

    „mediaFolderId“: „aa387d75254946bdbd27cb018e433da0“

you will get the response with id which will be act as mediaId.

  1. Now you have to post media using this id

and with body


and thats it.