I am trying to synchronize orders with a channel, so the idea is to log a “last update” timestamp and request all orders shipped after that timestamp in order to update the orders on the channel as shipped.
I see in the docs that i could use a GET request to /v3/order with ‘shipped_after’ parameter, but it does not seem to do anything. It returns all orders regardless of status or ship date (none have been shipped from ordoro yet, but marked as shipped via api because they were shipped on our current solution)
Would same solution (assuming i can get it to work) work on dropshipped orders or would I need to also do a query with same timestamp in ‘dropshipped_after’ parameter?
Can you post an example of your request using CURL or a similar tool? In the response you should see a header titled X-API-REQUEST-ID , please post it as well so we can find the request on our end and diagnose any issues.
The documentation is thin for this endpoint. It doesn’t specify what is expected in the “shipped_after” field. I’ve tried different date formats all with same result; returning all orders including those in “awaiting_fulfillment” status.
Also note the datetime format I used above. Ordoro is inconsistent with what format they expect from one endpoint to another, but that is the correct format for this one.
If an order is dropshipped, then I assume this function will not work and I need to seperately query with “dropshipped_after”?
normal orders have the shipped date in $response->order->shipping_info->ship_date
would drop ship orders return the ship date the same way? I see a “dropshipping_info” in the example in the api documentation, but there is nothing populated in that example. Would it be $response->order->dropshipping_info->dropship_date? I am just guessing here and have no idea unless I create a dropshipped order to see expected response.