HaCos Posted August 22, 2014 Share Posted August 22, 2014 Hello, i am looking into PS webservices and my first goal is to update products availability on my PS from my local ERP database. I enabled only stock management and not advance stock management. Going throught the documentation, i understand that i ll have to export data from my local db (ERP) and somehow PUT them in /api/stock_availables Quote GET the full XML file for the resource you want to change (/api/customers/7), edit its content as needed, then PUT the whole XML file back to the same URL again I checked the examples on github but all of them have to do with customers. 1. Has anyone coded connection with products or even better with their availability? 2. How should i run that php file & lets say i get an xml from my db for all the products, can i pass all data through that file? Thanks in advance, C Link to comment Share on other sites More sharing options...
scorpionexhausts Posted May 11, 2015 Share Posted May 11, 2015 Did you get any further with this? I'm wanting to do the same Link to comment Share on other sites More sharing options...
HaCos Posted May 11, 2015 Author Share Posted May 11, 2015 (edited) On 5/11/2015 at 1:23 PM, scorpionexhausts said: Did you get any further with this? I'm wanting to do the same Unfortunately not yet... i am manually updating the db once per week :/ Edited May 11, 2015 by HaCos (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now