question

nirgeiger avatar image
nirgeiger asked bhuvan published

can't find a way to send more than one line item per time for ordering

Hi,

We are currently integration our Ordering to Clover,

The current API calls only allow us to send one line item at one time to add to an order.

The issue is that on a large order this will potentially cause time outs,

For e.g. ordering 3 pizzas with 10 modifiers would mean that we have to send 33 http calls to make the order,

This would become a problem in making an order in real time for the user.

We are looking for a way to reduce this overhead of sending so many calls for an order.

Thanks

Nir Geiger

OrdersREST APIModifiers
10 |2000

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

Jonathan Ryan Grice avatar image
Jonathan Ryan Grice answered
BulkLineItems should be the endpoint you're looking for. Information on this endpoint is found in the WEB API documentation.
https://www.clover.com/api_docs/#!/orders/BulkCrea...
10 |2000

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

nirgeiger avatar image
nirgeiger answered
Thanks for the quick question, i will check that
10 |2000

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

bhuvan avatar image
bhuvan answered bhuvan published
Hi Would this also support addition of modifiers or would that still be a seperate call ?
10 |2000

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