Linking a Shopify Subscriber to a Bottomless Device

Edited

The Bottomless Shopify App can link Shopify Subscribers to Bottomless devices in three ways:

Shopify Tag

With the Bottomless Shopify app installed, tag a user in Shopify with "Bottomless Temp User".

Bottomless API

First, register with the Bottomless API by requesting a token. Then, send a POST request with the following structure:

https://app.bottomless.com/api/integrations/shopify-public/temp-user 

Send your API token via "X-BOTTOMLESS-TOKEN" header.

With the following JSON body:

{  "checkoutToken": "shopify-checkout-token"}

Adding Bottomless devices to orders

Within the Bottomless Shopify app, you can mark any product as "Bottomless enabled." When a Shopify order is created with a product marked as such, Bottomless will link the user's subscription to a Bottomless device.

What does "linking to a Bottomless device" mean?

When this happens, Bottomless will do two things:

  1. Generate a scale shipment. (Optional; partners can configure to generate these shipments themselves).

  2. Ingest information necessary for the Bottomless device to work. This information includes name and address.