Generate session token

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

post/2023-10/customer/{customerShopifyId}/sessionToken

Request

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

Path parameters

customerShopifyIdinteger required

The unique identifier of the customer in Shopify.

Response

200

successboolean
messagestring
codestring

Example response

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

Changes

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