Skip to main content

Connect Loop Subscriptions

Connect Loop Subscriptions, and each subscription's upcoming order shows up in SKU.io as upcoming subscription demand. SKU.io registers its webhooks in Loop for you, so a change shows within a minute.

Loop Subscriptions is not Loop Returns

Loop makes two separate apps. Loop Subscriptions bills your subscribers, and this page connects it. Loop Returns runs your return portal, and has its own connection: see Connect Loop Returns. Connecting one doesn't connect the other.

Before you begin​

  • You need the Integrations Create permission (integrations.create) to connect, and the Integrations Edit permission (integrations.update) to save the webhook secret key, map variants and change the forecast horizon.
  • API tokens need Loop's PRO plan.
  • Connect the Shopify store that Loop bills for, and link its listings to your products or subscription boxes. SKU.io matches Loop's variants through those listings. See Connect a Shopify store and Set up a subscription offering.
  • In Loop, open Settings → API tokens and webhooks, click Generate New Token, and give it these scopes:
    • Read subscription contracts: the upcoming orders SKU.io counts.
    • Read orders: which Shopify order each billing became.
    • Webhooks (write): so SKU.io can register its webhooks for you.
  • Optional: in Loop, open Settings → API & Webhook and generate a webhook secret key. Loop signs every webhook with it. You can add it later.

Connect Loop Subscriptions​

  1. Go to Apps & Integrations, click the search box, and type Loop.
  2. Choose Loop Subscriptions, under Subscriptions, then click Connect Loop Subscriptions. Make sure it's Loop Subscriptions, not Loop Returns.
  3. Paste the token into API token.
  4. If you have it, paste the secret into Webhook secret key.
  5. Click Test connection. A green message says Loop Subscriptions accepted the API token.
  6. Click Connect.

What you'll see: "Loop Subscriptions connected. Reading upcoming orders in the job tray." The connection page opens, and the first sync runs in the job tray as Sync Loop Subscriptions Demand. If the message says the webhooks are not registered yet, see Check the webhooks.

Check the webhooks​

SKU.io refuses webhooks it can't verify, so it needs your webhook secret key. Without working webhooks, demand still updates every 6 hours.

  1. On the connection page, read the Webhooks chip in the Connection card.

    ChipWhat it means
    LiveWebhooks are registered and the secret key is saved. Changes show within a minute.
    Secret key neededWebhooks are registered, but no secret key is saved yet.
    Partly registered or Not registeredLoop didn't accept every webhook. The Webhooks card shows how many topics are registered.
    Refusing deliveriesWebhooks are arriving, but SKU.io can't verify them. Read the message under the chip.
  2. If the secret key is missing, generate it in Loop under Settings → API & Webhook, paste it into Webhook secret key in the Webhooks card, and click Save key.

  3. If some topics aren't registered, click Register webhooks in the Webhooks card.

Read the connection page​

CardWhat it shows
ConnectionYour store, the last 4 characters of the API token, and the Webhooks status. Until the first webhook arrives, the store shows Named by its first webhook.
Last syncWhen SKU.io last read Loop, how many subscriptions and demand lines it read, and when the last webhook arrived. The Forecast horizon (days) setting is here too.
Needs mappingHow many Loop variants SKU.io can't match to a product, and how many upcoming units they hold.

Click Sync now at the top of the page to read Loop straight away.

If the Connection card says this store is also connected as another Loop Subscriptions connection, its upcoming orders count twice. Disconnect one of them.

Replace the API token​

  1. In the Connection card, click Replace token.
  2. Paste a new token from Settings → API tokens and webhooks in Loop.
  3. Click Check and replace. SKU.io checks the token with Loop, keeps your webhook secret key, and registers the webhooks again.

Map variants SKU.io can't match​

A Loop variant whose Shopify listing isn't linked in SKU.io is never dropped. It waits on the connection page, with the units it holds, until you map it.

  1. On the connection page, under Variants, turn on Needs mapping only.
  2. Read Upcoming units not counted to see what each variant holds.
  3. In the variant's SKU.io product column, click Map to product and pick the product.

What you'll see: "Mapped. Re-reading upcoming billings so they count." A new sync starts, and the variant's units join your upcoming demand.

A variant whose listing is linked to a subscription box shows a Box: chip instead. Its edition is picked from each billing date.

Change the forecast horizon​

Loop schedules only a short run of orders. SKU.io projects the billings after them from the subscription's billing interval, as Forecast demand, this many days ahead.

  1. On the connection page, in Last sync, enter a number of days in Forecast horizon (days), from 30 to 365. The default is 120.
  2. Click Save.

Disconnect Loop Subscriptions​

Click Disconnect at the top of the connection page, then Disconnect to confirm. SKU.io removes the upcoming demand it read and the webhooks it registered in Loop. Nothing else changes in Loop.

Next steps​

Last verified: