Regarding the Admin API using the XML format in Ruby

New Member
1 0 0

Hello Folks,


I have build my own application in the ruby on rails which is basically building a communication in all the way of XML. I am currently using a Admin API for creating a orders. I have to use a API for a refund of a order in both the way partially or fully.


So Any one can help me out for endpoint for the shopify admin and Request and response parameter because in the currrent shopify docs they only mentioned the API in JSON.


Thanks and Regards,

Tushar Pal 

Shopify Staff
Shopify Staff
287 29 54

Hey there,


It is currently possible to retrieve XML from the REST API endpoints by changing them from .json to .xml


That being said, the XML endpoints are not supported and may be deprecated in the future. For those reasons, we strongly recommend partners instead use the JSON equivalent endpoints and conduct an XML conversion on their side if they need to have it in that format.