Shop

Shop information and authentication

Get shop information

get
/rest_api/v2/whoami

Retrieve safe shop information for the authenticated shop

Header parameters
X-Joy-Loyalty-App-KeystringRequired

App ID of your shop which retrieved from the Settings page

Example: {{appKey}}
X-Joy-Loyalty-Secret-KeystringRequired

Secret Key of your shop which retrieved from the Settings page

Example: {{secretKey}}
Responses
chevron-right
200

Shop information

application/json
successbooleanOptionalExample: true
metaobjectOptional

Additional metadata such as counts and pagination

messagestringOptionalExample: Operation completed successfully
timestampstring · date-timeOptionalExample: 2023-07-28T07:27:54.123Z
get
/rest_api/v2/whoami
200

Shop information

Last updated