- Add the user hello@passquare.com to your YCLIENTS chain with full administrator rights.
- Add the user hello@passquare.com to your YCLIENTS location with full administrator rights.
- Create a new integration in your Passquare account with the type YCLIENTS.
- In the Server field, enter https://api.yclients.com
- In the Organization ID field, enter your location ID. You can copy the ID from the browser address bar after you open the location, for example `https://yclients.com/location/{ID}/`
- In the Additional parameters field, enter:
{ "salon_group": true/false, "exist_cards": true/false, "variables": [ "cardnumberyclients" ], "card_type_id": "11111", "special_offers": "22222" }
where:
- salon_group — true if you use a chain organization;
- exist_cards — true if you use cards that already exist in YCLIENTS;
- variables ["cardnumberyclients"] — use this variable if you need to receive the YCLIENTS card number in a Passquare variable. Relevant only when exist_cards = true;
- card_type_id — loyalty card type ID from YCLIENTS. You can copy the ID from the browser address bar: open the chain → Loyalty → Card types → the card type you need, for example `https://yclients.com/group_loyalty_card_types/edit/xxxxxx/{ID}`;
- special_offers — loyalty program ID from YCLIENTS. You can copy the ID from the browser address bar: open the chain → Loyalty → Promotions → the promotion you need, for example `https://yclients.com/group_loyalty_programs/edit/xxxxxx/{ID}`.
Integration details
- Bonus accrual and redemption, and discounts, are configured and processed in your YCLIENTS system.