Hi @
QuickBooksDev,
Did you try to use schema=complex in REST API request:
https://devs.x-cart.com/rest-api/#what-data-i-can-pull
Essentially, try to run the same request with _path=order, but add &_schema=complex bit to it and you will see whether the data returned is sufficient enough for your task.
Tony
Quote:
Originally Posted by QuickBooksDev
We are trying to use the V5.3.3.3 version of the REST API to get orders on V5.3.5.3 XCart to import into QuickBooks.
We are not finding the API documentation to be of much help.
We would like to be able to get all the information in 1 call which should include complete customer info (i.e.adresses, phone numbers, etc) and all items. But so far have only been able to get general info.
All other attempts to do anything else gets a
Unable to connect to the remote server No connection could be made because the target machine actively refused it
This URL is the only one that works but does not provide complete order info (i.e. with items and customer info).
"https://clientdomain.com/admin.php?target=RESTPAI&_key=" & APIKey & "&path=order"
Using &_path fails same error
Using &path=orderitems fails same error
Please advise on how we can get complete orders from the rest api.
Thanks
|