question

bassem-ben-dh avatar image
bassem-ben-dh asked David Marginian Deactivated commented

Kitchen Display Application

After creating my merchant from the dashboard , should i send all my products to clover api using REST API ??

All what i want is when a customer submit an order with my web application , Kitchen Display Application show the details of this order.

REST 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 commented

Very difficult to answer this question with the level of detail you have provided. Please, investigate our docs as I recommended in your previous post.

You will sign up for a developer account and create an app with the correct permissions.

You will then install the app on your test merchant and obtain a token.

If you are trying to create an order remotely (not on a Clover device) then you would use our REST APIs, specifically: https://docs.clover.com/reference#ordercreateatomicorder.

Documentation:

https://docs.clover.com/docs/clover-development-basics-web-app

https://docs.clover.com/docs/making-rest-api-calls

8 comments
10 |2000

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

bassem-ben-dh avatar image bassem-ben-dh commented ·

using this ws https://docs.clover.com/reference#ordercreateatomicorder , the id in lineItems array refere to id returned from this ws https://docs.clover.com/reference#inventorycreateitem-1 ??

1 Like 1 ·
David Marginian avatar image David Marginian ♦♦ bassem-ben-dh commented ·

No, the id would be the id of the line item. The "item.id" is an inventory item.

1 Like 1 ·
bassem-ben-dh avatar image bassem-ben-dh David Marginian ♦♦ commented ·

so always when i want to add a new item in my menu , i shoud update my inventory with REST API and store the returned item.id in my database

1 Like 1 ·
Show more comments

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