Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi I am techy savy, but not very code intelligent person. I have used CHATGPT to help me create a python code that archives/drafts products when I enter the sku. It seems like I have gotten almost everything to work, my code even finds the correct item id. But there seems to be an issue with the payload I cannot get past. I continuously get this error in the terminal:
Payload being sent: {'product': {'id': 8047613051133, 'status': 'draft'}}
Failed to set product with SKU: 100075 to draft. Error: {"errors":{"product":"Required parameter missing or invalid"}}
Can anyone help? I assume its something to do with the phrasing of 'product', 'status', or 'draft' but as I said I am not extremely fluent with python so I would not know. Thank you.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024