Go to production
Introduction
When the testing phase is completed and validated by our developers and QA teams, we’ll add a new activation button for your POS inside the related TFM Integrations page:
Link the restaurant
When the testing session is completed, in order to link a restaurant to our systems on production, you have to follow these steps:
- Generate a unique token that you must provide to the restaurant itself
- The Restaurant user must read/copy this token and paste it in the POS Integration webpage of TheFork Manager, as shown below:
- After this step, TheFork calls the POS
oauthTokenUrl
providing the TheFork restaurant identifier asCustomerId
, together with the token previously generated by the POS - POS company must link the received
CustomerId
to the specific POS restaurant instance
note
the CustomerId
data is very important because it will identify to whom the order belongs.
Below you can see a request example done by TheFork to the POS endpoint oauthTokenUrl
:
curl https://pos.api/link-url \
--header 'Authorization: Bearer your-secret-token' \
--header 'Content-Type: application/json ' \
--header 'CustomerId: 849cc863-4409-4e2e-b437-9e0567b06528' \
--form "token=unique-instance-token"