question

Alexey avatar image
Alexey asked Alexey commented

How to recognize DELIVERY order in POS?

Hello, I faced with a problem: when I create order via API v3 with delivery type, how should I know that it's a delivery order? Probably I have to set delivery time somewhere? Or put it only into the note?

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.

1 Answer

sam avatar image
sam Deactivated answered Alexey commented

For different types of orders (eg. takeout, delivery, dine in, etc), we recommend identifying using Order Type.

When querying orders via GET /v3/merchants/{mId}/orders, the response will have an orderType field:

"orderType": {
    "id": "2AG7324DT0BAJ"
  }

Which you can identify the id via GET /v3/merchants/{mId}/order_types/{orderTypeId}

2 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.

Alexey avatar image Alexey commented ·

I know about applying type, but I mean how to find out delivery address/time on a POS station ?

0 Likes 0 ·
sam avatar image sam commented ·

Yes, you should use the note. For address and phone, you could associate a customer with the order.

0 Likes 0 ·

Welcome to the
Clover Developer Community