v1
latestOpenAPI 3.1.02026-07-241120379.1 KBGenerate 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
Path parameters
customerShopifyIdinteger required
The unique identifier of the customer in Shopify.
Response
200
Example response
{
"success": true,
"message": "Customer session token generated successfully",
"data": {
"sessionToken": "1531a681dbfb425e90b66daf73fd9483"
},
"code": "SUCCESS"
}