1

I tried the call

/V1/products/:sku/media/

I get this response

[{
        "id": 31,
        "media_type": "image",
        "label": null,
        "position": 1,
        "disabled": false,
        "types": [
            "image",
            "small_image",
            "thumbnail",
            "swatch_image"
        ],
        "file": "/9/1/91sh_fuln0l._ux342__1.jpg"
    }]

Expected response as per dev docs contains the object

 "content": {
      "base64_encoded_data": "string",
      "type": "string",
      "name": "string"
    },

Does anyone know why it is missing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.