Regarding the Admin API using the XML format in Ruby

Highlighted
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 

0 Likes
Shopify Staff
Shopify Staff
298 32 59

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.

0 Likes
New Member
2 0 0

This is unfortunate. Could you point us to the official documentation stating that XML endpoints are not supported?

0 Likes