Documentation Index
Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
Use this file to discover all available pages before exploring further.
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Exchange a valid (non-expired) vendor token for a new one with extended expiry. Call this proactively before the current token expires to avoid forcing the vendor to re-enter credentials.
A valid (non-expired) vendor JWT.
Response
{
"success": true,
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 86400,
"shopDomain": "my-store.myshopify.com"
}
}
Error Responses
{ "success": false, "error": { "message": "Invalid or expired token" } }
Example
curl -X POST "https://staging-api.puppetvendors.com/portal/auth/refresh-token" \
-H "x-access-token: YOUR_VENDOR_JWT"