dimanche 4 octobre 2015

Filter and status parameter does not work on customer/{id}/orders endpoint

I am using WooCommerce Rest api to access data in android application.

I am trying to get list of customer's order based on status: pending/processing/on-hold.

for this i used status parameter in query but it does not work. It returns all orders including completed orders.

here is the query:

http://ift.tt/1FNiJqW

It returns all orders i just need orders with pending status (or whatever i specify).

i have tried applying filter parameters for limiting the returned result but that too doesn't work (Works on other endpoints eg. http://ift.tt/1M8ETAq

I don't want to retrieve all orders and then filter on the client. Is there any solution for this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire