![]() How can I regenerate this token from my python script?ī. However the auth token is only valid for 10 minutes.Ī. Response = requests.post('', headers=headers, data=json.dumps(data)) I'm now using this code as provided in the API docs. ![]() ![]() Sync Inventory between Wix, and a local database.Change Product attributes such as price, description, etc.Then I will modify it to do the following: What I wish to accomplish, figure out how to make this script run correctly. Is the store id in the URL of the wix dashboard? (I have already done this, just created an app, named it, nothing else, and installed it, hoping that I could use the app secret key, and my stores site ID, to retrieve the store products.)ĭo I use the APP ID & APP Secret Key in my script? Or do I use the Account ID and Account API that I created in the account of the Wix Store. Print('An error occurred:', response.status_code)ĭo I need a Wix Developer account, and then create an APP, and install this app on my wix store. Although it isn’t a free plan, this entry-level premium plan is affordable for everyone, doesn’t involve displaying Wix ads, and provides a free domain for one year. Response = requests.get(f'/products', headers=headers) Wix pricing plans begin with the Combo plan at 16 per month for an annual plan. # Not sure which set of credentials to put here, since none worked. # Replace YOUR_APP_SECRET and YOUR_STORE_ID with your actual values This created APP provides OAUTH App ID & App Secret Key. ![]() I have also gone to and created an app there. While logged into the Wix Store, I have created API.įrom the account settings I have the Account ID, and the API Key, with permissions to read, write, delete, update store items. Wix goes up to 25.00 a month if you opt for the VIP upgrade. When I run this python script on my PC I get the following error: An error occurred: 404 Wixs prices start at 5.00 monthly for the Connect Domain plan.
0 Comments
Leave a Reply. |