Replace const NEW_ORDER_ID = 15942; with const SITE_ID = 1;. Devs using the example app will need to add their Flybuy site id(Their app auth token would not have access to site 15942) + NEW_ORDER_ID could be confusing since it is supposed to be a site id
Replace pickup window with a more realistic and dynamic time range
Change customer information
Add comments about the optional fields in the create order
Let me know if you would like me to revert anything or make other changes! Thanks!
const NEW_ORDER_ID = 15942;
withconst SITE_ID = 1;
. Devs using the example app will need to add their Flybuy site id(Their app auth token would not have access to site 15942) +NEW_ORDER_ID
could be confusing since it is supposed to be a site idLet me know if you would like me to revert anything or make other changes! Thanks!