Images
POST https://api.ecartapi.com/api/v2/products/{{productId}}/images
Adds a new image to an existing product.
Important information:
Request Body
{"image"=>{"url"=>"https://cdn.computerhoy.com/sites/navi.axelspringer.es/public/styles/1200/public/media/image/2018/08/fotos-perfil-whatsapp_16.jpg?itok=fl2H3Opv"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"success":true,"image":{"id":"10629148606564","url":"https://cdn.shopify.com/s/files/1/0053/2679/8948/products/test.gif?v=1558455247","width":"110","height":"140","position":"2","images":null}}