Table of Contents
Table of Contents | ||
---|---|---|
|
...
With this step-by-step doc we can create new restaurants in the WL App with an integrated and functional menu.
PUT a restaurant
Important: tried to add more items later and noticed that we have some delays in this sync where the items take a lot of time to be shown in the menu (at least 20 minutes in my tests)
...
Token: partners api secret (dynamodb)Example: 6dfnPNxMuF1MA5zi5iDY
Header:
key: x-ui-region
value: ES
...
Token: partners api secret (dynamodb)
Example: 6dfnPNxMuF1MA5zi5iDY
Header:
key: x-ui-region
value: ES
...
Alternatively, you can update your integration as you can see in the following steps.
Validate the integration
Method: GET
Url: https://{{awsRegion}}-{{env}}-{{brand}}-partners-admin.rbictg.com/api/v1/admin/integrations/{integrationId}
...
Token: partners api secret (dynamodb)
Example: 6dfnPNxMuF1MA5zi5iDY
Header:
key: x-ui-region
value: ES
...
Note: See the missing stores.
Update your integration to include your restaurant
Method: PUT
Url: https://{{awsRegion}}-{{env}}-{{brand}}-partners-admin.rbictg.com/api/v1/admin/integrations/{integrationId}
...
Token: partners api secret (dynamodb)
Example: 6dfnPNxMuF1MA5zi5iDY
Header:
key: x-ui-region
value: ES
...
The following cart page will only be available if the restaurant webhooks are well configured
...
Copy a restaurant menu to the new restaurant
After creating the restaurant, we can copy the Zaragoza (1111) menu to the newly created restaurant. In this way, we’ll have a restaurant with a menu that we know will work.
...
Created restaurants
BK ES → In the moment I’m writing this we can’t reach the success page
Metro Sol, C. de Esparteros, 3, 28012 Madrid, Spain
BK PT → In the moment I’m writing this we can reach the success page
R. Maria Amália Vaz de Carvalho 47, 1700-333 Lisboa, Portugal
PLK ES → In the moment I’m writing this we can reach the success page
C. de Eduardo Torroja, 28914 Leganés, Madrid, Spain