question

tmly2006 avatar image
tmly2006 asked David Marginian Deactivated edited

Ecomm create order api get http-429 when add taxrate to multi lineitems

xnip2021-01-27-14-46-18.jpg

when items length is large the some number, cannot add taxrates.

could you help me with this?

e-commerce api
10 |2000

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

Update:

We have found and fixed an inefficiency in this endpoint. However, it won't be live until March, so you may need to follow my advice below.

Original:

I have reported this to the team. Unfortunately, I think you will have to use the /v3/orders endpoints to create orders (https://docs.clover.com/docs/working-with-orders). This API is more difficult to work with (you have to make multiple requests, etc.), however, you will be in control of when you make requests and can scale things down if you get 429'd. We have a newer order API coming in the next few months that will allow you to create an order (with all modifiers, tax rates, etc.) with a single request , but unfortunately until that is released this is all we have.

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