Direct Linking to Menu Page
URL Parameters
URL parameters are a way to pass information about a click using the URL itself. Parameters are added to the end of a URL after a ‘?’ symbol, and multiple parameters can be included when separated by the ‘&’ symbol. Parameters have a key value pair format and can be required or optional.
Example: ?id=123&order-type=1
Store Parameter in Direct Link *required
In order to load Menu Page, Store ID must be specified.
Example Direct Link URL:
https://order.yourdomain.example/venue/?id=123
"/venue" indicates that it's a Store Menu Page
"id=123" is the ID of a specific store. Without Store ID, Menu Page can't load. Store ID is the same in PAR Ordering CMS URL and Web App URL for a single store.
Order Type Parameter in Direct Link *required
In order to load Menu Page, the order type needs to be specified.
Example Direct Link URL:
https://order.yourdomain.example/venue/?id=123&order-type=4
"order-type=4" indicates that it's a directory for Dine-in Pickup order type. This direct link would open Menu Page with the list of restaurants offering Dine-in Pickup order type.
Menu Page supported order types:
| Order type | URL parameter |
|---|---|
| Dine-in Pickup | order-type=4 |
| Table Service | order-type=1 |
| Takeout | order-type=6 |
| Delivery | order-type=7 |
| Foodspot | order-type=9 |
If the order type isn't specified in the URL as a parameter, upon landing on the page, customers will be asked to choose the order type they would like to order.
Table Number Parameter in Direct Link *optional
When the table number parameter is specified in the URL, the customer will automatically have the table number entered upon landing on the Menu Page. This is a great feature if you include the table number in the URL directed from a QR code, as it will optimize the experience for your customers.
If the parameter doesn't exist in the URL, the customer can add manually the table number through Web App.
Example Direct Link URL:
https://order.yourdomain.example/venue/?id=123&order-type=1&table-number=1
* Supported for Table Service.
Foodspot Code Parameter *optional
You can provide direct links to your customers and ease the navigation to your foodspot menu. When Foodpot code is added to Direct Link as a parameter, customers will by accessing the link have Foodspot already selected with the first available time if foodspot offers multiple deliveries for the same day.
This URL can be used in combination with the Dynamic Links feature, and QR codes can be provided in the office which has Foodspot. Ideally you provide QR codes in marketing materials in specific Foodspot.
https://order.yourdomain.example/venue/?id=123&order-type=9&foodspot-code=CODE
* Supported for Foodspot
Please make sure not to publicly show direct links to foodspots, as it may bring confusion to customers that aren't users of the foodspot.
Order For Time Parameter in Direct Link *optional
* Order For Time shouldn't be specified upfront, only through ordering flow specified explicitly by your customer.
Order For Time parameter is encrypted as it consists of ASAP (as soon as possible) or a specific time. Time as a parameter is encrypted as URL is in UTC time which usually differs from restaurant or customer device time. As such it's hidden to avoid confusion. Please do not specify nor change these parameters. Our suggestion is to not specify the time when direct linking to Menu Page, as Web App, will appropriately give the option to your customers to specify the time they would like for their order.
Example Direct Link URL:
https://order.yourdomain.example/venue/?id=123&order-type=4&time=JTIyQVNBUCUyMg%3D%3D
* Supported for Dine-in Pickup, Takeout, Delivery, and Foodspot (if multiple delivery times are available in Foodspot).
Customer Delivery Address Parameter in Direct Link *optional
* Customer delivery address shouldn't be specified upfront, only through Delivery flow specified by your customer.
Delivery Address parameter is encrypted as it consists of the full customer address and all additional details. As such, please do not specify nor change these parameters. When parameters aren't specified in the URL, the Web App will take care to ask customers for delivery addresses before letting them proceed to Menu Page. Note that if the delivery address customer specifies is in the zone of a different store, the customer will be redirected to that store and be able to make a purchase.
Example Direct Link URL:
https://order.yourdomain.example/venue/?id=123&order-type=7&delivery-address=JTdCJTIyaWQ
Products in Cart Parameter in Direct Link *optional
* Products in the cart shouldn't be specified upfront. This parameter will adjust based on what your customers are adding to the cart by themselves.
Products in cart parameters are encrypted as they handle cart quantity, items, combos, offers, rewards, modifiers, and comments. This parameter is generated for every order in real-time based on what your customers are adding to the cart.
Example Direct Link URL:
TBD
Wording and screenshots in this article are examples for presentational purposes. You can customize all texts across the PAR Ordering platform to match your brand's tone of voice in the Customization Center.
Comments
0 comments
Please sign in to leave a comment.