Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

403 Forbidden error while adding/updating meta fields to existing image by Prashant Bhure

$
0
0

Hi,

I am updating my existing images on the shopify store but for some reason I am getting 403 error.

Could anybody please help me.

I have the requests as follows.

Update existing Image Meta field.

https://ShopName.myshopify.com/admin/images/<ImageId>/metafields/<MetaFieldId>.json

     {

     "metafield": {

     "id": MetaFieldId,

     "value": "Basketball",

     "value_type": "string"

     }

     }

 

Add new  Image Meta field to existing Image.

     https://ShopName.myshopify.com/admin/images/<ImageId>/metafields.json

 

     {

     "metafield": {

     "description": "PictureAltText",

     "namespace": "tags",

     "key": "alt",

     "value": "Basketball",

     "value_type": "string"

     }

     }

Thanks

Prashant Bhure


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>