This is slightly niche since it focuses on the Discogs API, but I'm hoping someone on this more active forum might have experience with it.
I'm working on a data engineering problem to try and reduce inventory lag. my goal is to pull my inventory here into Shopify, and then when something sells in store, pull it from discogs.
Things I've got working:
- pulling my inventory into airtable
- Zapier then creates new 'products' in my Shopify.
- Shopify can pull sold items from sales tickets
In theory that should only leave 4. simple POST to marketplace listings to mark as draft or DELETE to remove it.
4 has proven anything but simple.
I've done the oauth flow for my app, and have keys (hence the ability to pull inventory into Airtable), but running
POST https://api.discogs.com/marketplace/listings/11111111?status=Draft&key=key&secret=secret
gets
You are not allowed to view this resource. Please authenticate as the owner to view this content.
What gives? Similar failings with
DELETE https://api.discogs.com/marketplace/listings/11111111?key=key&secret=secret
What am I doing wrong? Also looking if anyone has tips on using Zapier's web hooks to do the removals.