Platform | Original Number | Normalized Format | Normalization Steps | Source Link |
---|---|---|---|---|
Snapchat | +966 555 123 456 | 966555123456 | Remove '+', remove spaces, ensure country code (966) is included, no non-numeric characters | Snapchat Marketing API Reference |
TikTok | +966 555 123 456 | +966555123456 | Keep '+', include country code (966), remove spaces, no other special characters | TikTok Events API - Segment Docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# script was taken from https://gist.github.com/innovia/fbba8259042f71db98ea8d4ad19bd708 and adjusted with "apply_rbac" function and colorized output | |
set -e | |
set -o pipefail | |
# Colors | |
RED="\e[01;31m" |
- To connect company to Marn go to http://lvh.me:5000/portal/en/companies/{:id} then select "connect to Marn pos"
- Insert Marn's username and password
- Select allow
- After refresh page, add company's restaurant
- To link Hungerstation branch to Marn location go to http://lvh.me:5000/operation/en/companies/{:id}
- Select "Link branches to Marn"
- To get locations from Marn, select "Sync Location" then refresh the page to load new locations