You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result is : { message: "Trying to set Order.id of type 'string' to 'order_xxx' of type 'array'", name: 'ValidationError', stack: "ValidationError: Trying to set Order.id of type 'string' to 'order_xxx' of type 'array'\n" ... }
Expected behavior
Archive an order
Actual behavior
Error message : Trying to set Order.id of type 'string' to 'order_xxx' of type 'array'
Package.json file
Node.js version
v20.17.0
Database and its version
PostGresSQL 13
Operating system name and version
Mac Os
Browser name
Brave/Chrome
What happended?
Archive an order (Admin API)
Using Postman calling : POST http://localhost:9000/admin/orders/order_xxx/archive as described here https://docs.medusajs.com/api/admin#orders_postordersidarchive
(This call seems to be same as "Order complete" https://docs.medusajs.com/api/admin#orders_postordersidcomplete)
Result is :
{ message: "Trying to set Order.id of type 'string' to 'order_xxx' of type 'array'", name: 'ValidationError', stack: "ValidationError: Trying to set Order.id of type 'string' to 'order_xxx' of type 'array'\n" ... }
Expected behavior
Archive an order
Actual behavior
Error message : Trying to set Order.id of type 'string' to 'order_xxx' of type 'array'
Link to reproduction repo
http://localhost:9000
The text was updated successfully, but these errors were encountered: