mukherjeerohit93 Posted August 11, 2016 Share Posted August 11, 2016 Hi guys, My shop integrates with a web service that needs to update it's order status and tracking number. I've been through the official documentation. I'm aware that I can access JSON versions of the API's by providing the query parameter output_format=JSON 1. Is there any place I can get a comprehensive list of the API's with the query parameters they accept (/api?output_format=JSON) 2. Is it possible for me to provide data for POST/PUT api's via query parameters or do I have to always provide XML? 3. I want to update the order status, what api should I hit and what XML schema/JSON parameters do I have to provide for this? I can update the tracking number by hitting: api/order_carriers/{id}?output_format=JSON. I don't know how to pass in the parameters though. Sorry if this information is documented there, I'd appreciate any help in this direction. Thanks, Rohit Link to comment Share on other sites More sharing options...
massimopasquali Posted August 22, 2016 Share Posted August 22, 2016 Hello,I tried to active the webservice on my VM Ubuntu 16 with php5.6 e maysql. When I ran the webservice I putted on Firefox "http://9M118ZLJHXVCK...m/api/customers", but doesn't works. Can you explain how you had actived the webservice.? Link to comment Share on other sites More sharing options...
pedepot Posted August 22, 2016 Share Posted August 22, 2016 Hi guys, My shop integrates with a web service that needs to update it's order status and tracking number. I've been through the official documentation. I'm aware that I can access JSON versions of the API's by providing the query parameter output_format=JSON 1. Is there any place I can get a comprehensive list of the API's with the query parameters they accept (/api?output_format=JSON) 2. Is it possible for me to provide data for POST/PUT api's via query parameters or do I have to always provide XML? 3. I want to update the order status, what api should I hit and what XML schema/JSON parameters do I have to provide for this? I can update the tracking number by hitting: api/order_carriers/{id}?output_format=JSON. I don't know how to pass in the parameters though. Sorry if this information is documented there, I'd appreciate any help in this direction. Thanks, Rohit Hello, As far as I know there is no PATCH method. You can use PUT. You should pass as parameter the entire value of the new object in XML format. It worked for me in various programming languages though. I haven't tried it for JSON 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