Generate session token

This endpoint generates a secure session token used to authenticate Storefront API requests and obtain access and refresh tokens.

post/2026-04/customer/{customerShopifyId}/sessionToken

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/customer/{customerShopifyId}/sessionToken
  • Auth
    API key in header X-Loop-Token

Path parameters

customerShopifyIdstring required

The unique identifier of the customer in Shopify

Response

OK

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Customer session token generated successfully",
  "data": {
    "sessionToken": "06b3883cb92046a89f365be216be8a92"
  },
  "code": "SUCCESS"
}

Changes

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