While working on order API endpoint. I’m stuck with some errors.
When trying to filter order on the basis of status “awaiting_fulfillment”
I encounter this error
{
“error_message”: “expected one of [‘all’, ‘archived’, ‘cancelled’, ‘in_process’, ‘new’, ‘shipped’]”,
“param”: “status”
}
I’m not sure, I’m working on right API version.
How Ordoro API V3 and a previous version are different?
What’s different between these 2 documents
Doc1: http://docs.devapiverson.apiary.io/ ( Using this document )
OR
Doc2: https://ordoro.docs.apiary.io/
Both using same API base url : api [dot] ordoro [dot] com
Please someone put some light on this?
Thanks,
sophie
April 5, 2018, 4:33pm
2
As per this documentation ( http://docs.devapiverson.apiary.io/ )
I did but when I try to get orders:
Endpoint: /order/?status=awaiting_fulfillment
When trying to filter order on the basis of status “awaiting_fulfillment”
I encounter this error
{
“error_message”: “expected one of [‘all’, ‘archived’, ‘cancelled’, ‘in_process’, ‘new’, ‘shipped’]”,
“param”: “status”
}
All this status supported by this API ( https://ordoro.docs.apiary.io/ )
sophie
April 5, 2018, 6:02pm
4
Sorry for any confusion. The host on the v3 Order API documentation is wrong, and we will update that.
Please use https://apiverson.ordoro.com/order?status=awaiting_fulfillment for this. Note: there should be no trailing slash after order
.
Thanks, Now it’s working fine.
One more thing, When I try to run API with the console then It’s not working and say “API server took too long to respond”.
sophie
April 10, 2018, 3:42pm
6
Are you still running into this issue?
Nope. Thanks, Sophie. Have a great day