Skip to main content

Connect Shopify

Make every paid order in your Shopify store earn points for the member who placed it. It takes about 20 minutes and you need administrator access to Shopify.

Before you start
  • Permissions: Integrations, Creating integration and Editing integration.
  • A points programme with a purchase earning rule.
  • Your customers are already members of the programme and use the same email or phone in the store. If there is no member, the order is skipped.

1. Create the connector​

Go to Integrations › Connectors and click Create New.

  1. Enter a Name, for example "Online store".
  2. Choose Integration type › ECommerce and Provider › Shopify.
  3. Under API secret, enter the secret Shopify uses to sign its notifications. IncentIA uses it to check that the order comes from your store.
  4. Under Loyalty Programme, choose the programme that receives the points.
  5. Tick Active and click Save.
Programme and secret

Without a Loyalty Programme, orders are skipped. Without an API secret, IncentIA rejects every notification.

2. Find out the notification address​

The screen doesn't show the address Shopify must notify. It has this form:

https://<IncentIA address>/api/webhooks/shopify/<connector number>

Ask support for your account's address and the number of the connector you have just created.

3. Create the notification in Shopify​

In the Shopify admin, go to Settings › Notifications › Webhooks and create one webhook for each event in the table. Use the JSON format and the address from step 2.

Event in ShopifyWhat IncentIA does
orders/paidAwards the order's points
orders/cancelledDeducts the points it gave
refunds/createDeducts points in proportion to the amount refunded

IncentIA ignores any other event. A repeated notification doesn't duplicate points.

4. Test with an order​

  1. Place a test order in Shopify with a member's email and pay for it.
  2. Open Administration › Incoming Webhooks and filter Source › Shopify. The notification should appear.
  3. Open the member's record: it has the order's points.

Check that it works​

  • The notification is listed as processed under Administration › Incoming Webhooks.
  • The member sees the points in their portal.
  • Under Integrations › Connectors, the connector is Active.

If something fails​

SymptomLikely causeWhat to do
The notification doesn't appear in Incoming WebhooksWrong address or inactive connectorCheck step 2 and that Active is ticked
The notification is rejectedAPI secret differs from Shopify'sCopy the secret again and save the connector
The order is skippedThere is no active member with that email or phoneAsk your customer to use the same email as in the programme
The order is skipped with no pointsThe connector has no Loyalty ProgrammeEdit it and choose one

Next steps​