Skip to main content
Where to find this: Custom Apps aren’t listed on the Integrations page yet. Contact support to set one up.

Introduction

A custom app is an OAuth 2.0 client registered with Yuko. It lets an external tool (a checkout provider, a partner app or your own internal system) ask a merchant for access to their Yuko data, instead of the merchant copying a REST API key by hand. Once the merchant approves, the app receives an access token and calls the REST API with the scopes the merchant granted.
Custom Apps don’t push Yuko events to other tools. To receive events, use Webhooks. To call the API from a single store’s systems, a REST API key is simpler.

When to use

  • You’re building an app that many Yuko merchants will connect to.
  • You want merchants to connect with one click and approve access, rather than paste an API key.
  • You need tokens that can be revoked without affecting the merchant’s other keys.

What a custom app includes

How the connection works

1

Your app sends the merchant to Yuko

The app redirects the merchant to Yuko’s authorisation page with its client ID, redirect URL, requested scopes and a state value.
2

The merchant approves

Yuko shows the app’s name and the access it’s asking for. The merchant clicks Authorize or Deny.
3

Your app exchanges the code

Yuko redirects back to the app’s redirect URL with an authorisation code. The app’s server exchanges the code for an access token and a refresh token.
4

Your app calls the API

The app sends the access token as a Bearer token on REST API requests, within the approved scopes.

Best practices

Request only the scopes you need. Merchants are more likely to approve narrow access.
Keep the client secret and tokens on your server. Never put them in browser or mobile code.
Test with a development store before asking real merchants to connect.

FAQs

A REST API key is created by the merchant in Integrations → REST API and pasted into your tool. A custom app uses OAuth, so the merchant approves access from your app without handling keys.
Custom apps call Yuko’s API. Webhooks send Yuko events to your server. Many integrations use both.

REST API

Read and write Yuko data programmatically.

Webhooks

Receive real-time event notifications.

Shopify Flow

Trigger Shopify Flow workflows from Yuko loyalty, VIP and referral events.

Shopify POS

Redeem points and apply loyalty discounts at the till.

Klaviyo

Sync customers, points and tier data into Klaviyo.

Mailchimp

Sync loyalty merge fields and events into a Mailchimp audience.

Omnisend

Sync loyalty data into Omnisend.

WhatsApp

Send transactional loyalty messages via 14 supported WhatsApp Business API providers.

Retainful

Email marketing & abandoned cart recovery.

Judge.me

Award loyalty points for Judge.me reviews.

Return Prime

Refund approved returns as loyalty points.

Book a Free Setup Call

Talk to our team for personalised setup help.Time: 30 minutes

Contact Support

Visit our support hub for help articles, live chat and ticket submission.

Browse the Guides

Documentation across loyalty, referrals, memberships and more.

Install Yuko

Add Yuko to your Shopify store from the Shopify App Store.