question

wsdzy2010 avatar image
wsdzy2010 asked noble457 answered

creating order failed with unknown reason

Hi Clover,

We are using the API to create Clover order.

https://api.clover.com/v3/merchants/YK18N74WWAZ61/atomic_order/orders

But some orders were failed with 400 error with no more details. Could you please help us to check what caused the 400? One call was made at 15:33:41 PM CST, May 09. Our merchant client is worried about it.


Merchant id: YK18N74WWAZ61


Orders
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image
bryanvargas answered wsdzy2010 commented

Errors occurred because you did not specify a unit quantity value, some inventory items added to the order are priced per unit, and you need to specify the quantity for that item:

unitQty: 1

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wsdzy2010 avatar image wsdzy2010 commented ·
Thank you very much!
0 Likes 0 ·
will1452 avatar image
will1452 answered will1452 edited

I'm in the same situation. NGS Medicare Connex

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

noble457 avatar image
noble457 answered

This error occurs because the Order Record Type labels (NOT the Translations) are different from the Order Record Type API name.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community