Woocommerce API
-
Good afternoon. Please tell me such a moment, I use the moedelo service.org I have the remnants of the goods stored in it, I would like to transfer the remnants of the goods from this service to woocommerce, and the price change from woocommerce to the service moedelo.org ,can I do this using your plugin? In the service moedelo.org they provide an API key for integration
-
Hello,
I have looked at moedelo.org but I do not understand Russian, so I do not know which type of API they use.
If they had English docs, then I would be able to tell you but I can’t find any online.Good afternoon. They have a page with API decryption, please take a look: https://restapi.moedelo.org/s/?url=/docs
I have also translated into English for you exactly what relates to the remains of the goods:
1. https://disk.yandex.ru/i/4UnCMdjbczQOdA
2. https://disk.yandex.ru/i/n0759aNow0hTDg
These links are what concerns the prices of goods:
1. https://disk.yandex.ru/i/kVsEHSavfJSl0Q
2. https://disk.yandex.ru/i/kmN3GVGNxyykEgHi,
Thank you, yes I can confirm that our plugin will work with this API.
You would need to add your API key like this here – https://wpgetapi.com/docs/connect-using-api-key-in-headers/
But you would simply replace the ‘x-api-key’ with ‘md-api-key’ and then add your api key.
1. Good afternoon. Thank you for the prompt response, tell me will I be able to test this data exchange on a free plugin?
2. I installed a free plugin, and I can’t figure out how your plugin finds out what remains of the product in my personal account moedelo.org ? How do I get him to pull up data from my account moedelo.org I have a key in the service itself in the settings for integration, look at the screenshot – https://disk.yandex.ru/i/4eNDlMGx4WWZUQ
3.I may have poorly explained what exactly I wanted to achieve. I have moedelo in my service.org accounting is kept there, data on the remaining goods are stored, I wanted this data to be uploaded to woocommerce when I issue an invoice for some product in the service moedelo.org and I sell it through the amount of this product would decrease then in woocommerce, and if someone placed an order on the site and I sold the product through the site then the stock in the service has decreased moedelo.org . I also wanted it to be with the price of the product, I change the price in woocommerce and it changes in the service moedelo.org also. Is it possible to do this?
4. did I make the initial settings correctly? – https://disk.yandex.ru/i/RwC-qzROuduhXwLook at the address bar of the browser, by the way, my company ID is indicated there, maybe you need to specify it somewhere in your plugin that the data was pulled from my account? – https://disk.yandex.ru/i/F6aFp8SVR9Ys8w
Could you please post a screenshot of your endpoint settings?
1.Good afternoon. Look at the parameters, I just have a very weak understanding of what exactly you need to specify there
1.1. https://disk.yandex.ru/i/OGHQBilNw-PH2g
1.2. https://disk.yandex.ru/i/QwGLQgAe4OgbUg2.If I want to exchange the rest of the goods, I need to insert a line from the browser somewhere in your plugin, as in this screenshot
2.1. https://disk.yandex.ru/i/HMMuI-W428OFsQYou need to move the ‘md-api-key’ and the value down into the ‘Headers’ section.
Good day. I tried what you wrote, rearranged the name and value of the api key in the header, and also changed The endpoint itself that will be attached to the base URL, because initially the first one I specified was not correct. As a result, nothing works, I specifically chose one product, it is variable, I put a check mark on inventory management in each variation to check whether the API works on it, but this product on my site does not receive data about the balances in the service moedelo.org
According to the list of what I did:
1. I specified my company ID in the service moedelo.org at the first stage of setup, I don’t know if this is correct, does it affect the final result:
1.1 – https://disk.yandex.ru/i/Sv62qwfB5LX18w
1.2 – https://disk.yandex.ru/i/MmIW8htXP28zUg
1.3 – https://disk.yandex.ru/i/tU9vkAPDYpSofQ
2. I went to the api moedelo page, found the correct IP, which is called “Receives the remains of the goods in warehouses”, decided to try their scheme, but could not figure out what value to specify, I get the response code 400, look at the screenshot
2.1. – https://disk.yandex.ru/i/nr7I1BLQIr9eXwCould you please put in a support ticket at https://wpgetapi.com/support-ticket and send through your API key and we can try to get it working at our end and then send you the settings?
Good afternoon. Thank you for your help, I will now create a request and send you the data
Closing this one now – problem being resolved via email.
The topic ‘Woocommerce API’ is closed to new replies.