Python requests PUT and Shopify API problem

New Member
1 0 0

Hi, i'm beginner into shopify's admin API. I succed to get requests on products. I'm trying to use the PUT method to edit a product's meta description. I followed some exemples found on internet, tryed lot of stuff but each time i got a 200 response but nothing happen. Can someone tell me what i've donne wrong ? here is my code, i'm using python3 requests and a private app.

data = {
  "product": {
    "id": 4116933410882,
    "metafields_global_description_tag": "Bran<rteed zadazd deszdazfsfecription"

response = requests.put(
	'https://' + username + ':' + password + '@' + shop + '' + api_version + '/#4116933410882.json',
	headers={'Content-Type': 'application/json'},

Shopify Staff
Shopify Staff
381 12 43

Hi, @Pxppxr 

Elle here from Shopify. I've moved your post to our API boards so you can receive a better response!


Elle | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog