Invalid order. Details: is not a valid amount of money

Hello

I am still getting this error “Invalid order. Details: is not a valid amount of money”

Let me know what the change in graphql

Your regards
Bhavesh

Hey @bhavesh,

Thanks for reaching out!
Would you mind providing an example request id for this error?

Please let me know if you have any questions or concerns.

Best,
RayanP

Hi

Call :- Create Order
Error:- Invalid order. Details: is not a valid amount of money

This error seems to occur when your order total, subtotal, shipping price, and tax amount does not match your detail (item level) total amount.

It would be really great if a more detailed/informative error message can be provided in the API response where or what total amount mismatch the system is getting. So this error can be fixed easily.

I am facing this issue currently as well.

Thanks

Hey @bhavesh and @risham,

I believe this issue occurs when the price value under the shipping line field is blank:

shipping_lines: { title: "string", price: "" }

This can be remedied by inputting a value of 0:

shipping_lines: { title: "string", price: "0" }

Let me know if this helps!

Best,
RayanP

1 Like