Shopify OAuth

Claim Shopify Install

Claim a pending Shopify install for the authenticated user.

This is called from the /setup/shopify page after the user logs in or creates an account. It:

  1. Validates the setup token
  2. Creates a soeru shop for the user
  3. Stores the Shopify access token in shop_settings
  4. Deletes the pending install record
post/api/shopify/claim-install

Request

  • Base URL: https://api.soeru.biz (the document declares no server; this is the origin it was published from)
  • URL: https://api.soeru.biz/api/shopify/claim-install
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

Bearer <token>

Request body

setup_tokenstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.