Page 1 of 1

Cyclos 4.13 error for POST /{user}/orders

Posted: Mon Jun 29, 2020 5:29 am
by jakob.schumann
Hello,

with the new 4.13 I'm trying to use the new POST /{user}/orders endpoint, the parameters seem correct now. No more 422 Unprocessable Entity from missing elements, with e.g.

Code: Select all

 {"properties":["deliveryAddress.zip"],"propertyErrors":{"deliveryAddress.zip" ...}
But it seem to have a problem returning the created order, I'm getting a 404 Not Found with:

Code: Select all

{"entityType":"Order","key":"-2467653671196509392"}
The key changes with each request (with the same parameters), so it seem's to be really the encoded autoincrement ID of the new order, but why can't cyclos find it?

Thanks in advance,
Jakob