Validate JWT
shop_validate_jwtReturns whether or not a given JWT is valid and associated with a specified user:
HTTP_200_OK: The JWT is valid and linked to the targeted user. Theis_anonymousfield in the response payload indicates if the user is anonymous or logged in into its account.HTTP_400_BAD_REQUESTwith error code4000: The JWT is not valid or not related to the specified user Guidance: Returns whether or not a given JWT is valid and associated with a specified user. HTTP 200: The JWT is valid and link... | context: jwt
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwt | Yes | Token to validate. | |
| user_id | No | Unique ID of the user against which the token should be validated. |