• Resolved artemis21

    (@artemis21)


    Hello, I have a plugin called “WooCommerce Product & Variation Gallery Images”, it adds a gallery for each variation of a single product. I need to edit this images through API but when I send the request with postman I get this result in the json of the product:

        ...
    "meta_data": [{
        "id": 1789969,
        "key": "_alg_ean", 
        "value": "" },
            {"id": 1789970,           
            "key": "woocommerce_gallery_images_iframe_links",           
             "value": [                "",                "",                ""
            ]
        ...

    How do I get access to 1789969 and modify the meta_data in this json? I see the value of woocommerce_gallery_images_iframe_links is an array of three, and this product has 3 images.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit meta_data of a product with API’ is closed to new replies.