1

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?

asked 2016-12-09 12:01:48 -0500

alexey gravatar image

1 answer

Sort by  
0

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}

answered 2016-12-09 13:47:34 -0500

Sam gravatar image

updated 2016-12-09 13:47:54 -0500

Comments

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

alexey gravatar image
alexey 2016-12-12 04:14:59 -0500

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

Sam gravatar image
Sam 2016-12-12 19:38:58 -0500