POST:auth/refresh.json
Commerce APIPOST:auth/refresh.json

POST:auth/refresh.json

Description

Refresh a user token.

Currenty JWTs have a hard expiration period which is 7 days. But also tokens expire for write actions in 16 hours. Refreshing token bumps the write expiration date, but not the hard expiration date. After 7 days you will have to perform a login procedure again.

See also: Authentication.

Topic: Auth

Request Body

Token

{
  "token": ""
}

Response Body

TokenAndUserID

Response Body Type

Loading module