loyalty

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-loyalty"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/c47a3b2d-9cb6-4aa8-8a09-6a1cefb21e33/social-card.svg?v=3e7ae33eec8b" alt="loyalty" width="600" height="315"></a>
DELETEhttps://hermeticor.com/wallet/apple/{ws}/v1/devices/{device}/registrations/{passType}/{serial}

Parameters

wsstringpathrequired
devicestringpathrequired
passTypestringpathrequired
serialstringpathrequired

Code samples

cURL
curl -X DELETE "https://hermeticor.com/wallet/apple/{ws}/v1/devices/{device}/registrations/{passType}/{serial}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
{}
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
GEThttps://hermeticor.com/wallet/apple/{ws}/v1/devices/{device}/registrations/{passType}

Serial numbers of this device's passes changed since the tag

Parameters

passesUpdatedSincestringquery
wsstringpathrequired
devicestringpathrequired
passTypestringpathrequired

Code samples

cURL
curl -X GET "https://hermeticor.com/wallet/apple/{ws}/v1/devices/{device}/registrations/{passType}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
{}
GEThttps://hermeticor.com/wallet/apple/{ws}/v1/passes/{passType}/{serial}

The latest version of a pass

Parameters

wsstringpathrequired
passTypestringpathrequired
serialstringpathrequired

Code samples

cURL
curl -X GET "https://hermeticor.com/wallet/apple/{ws}/v1/passes/{passType}/{serial}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
{}
POSThttps://hermeticor.com/wallet/apple/{ws}/v1/log

Parameters

wsstringpathrequired

Request body

application/json
logsstring[]required
{
  "logs": [
    "string"
  ]
}

Code samples

cURL
curl -X POST "https://hermeticor.com/wallet/apple/{ws}/v1/log" \
  -H "Content-Type: application/json" \
  -d '{"logs":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
{}
GEThttps://hermeticor.com/hub/{ws}

The customer hub page (or its sign-in form)

Parameters

wsstringpathrequired

Code samples

cURL
curl -X GET "https://hermeticor.com/hub/{ws}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
"string"
POSThttps://hermeticor.com/hub/{ws}/signin

Parameters

wsstringpathrequired

Request body

application/json
{}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/signin" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
"string"
GEThttps://hermeticor.com/hub/{ws}/auth/{token}

Parameters

wsstringpathrequired
tokenstringpathrequired

Code samples

cURL
curl -X GET "https://hermeticor.com/hub/{ws}/auth/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

302 Default Response
{}
POSThttps://hermeticor.com/hub/{ws}/signout

Parameters

wsstringpathrequired

Request body

application/json
{}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/signout" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

302 Default Response
{}
POSThttps://hermeticor.com/hub/{ws}/wishlist

Parameters

wsstringpathrequired

Request body

application/json
{}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/wishlist" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

302 Default Response
{}
POSThttps://hermeticor.com/hub/{ws}/wishlist/remove

Parameters

wsstringpathrequired

Request body

application/json
{}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/wishlist/remove" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

302 Default Response
{}
POSThttps://hermeticor.com/hub/{ws}/redeem

Parameters

wsstringpathrequired

Request body

application/json
{}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/redeem" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
"string"
POSThttps://hermeticor.com/hub/{ws}/api/link

Parameters

wsstringpathrequired

Request body

application/json
emailstringrequired
{
  "email": "string"
}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/api/link" \
  -H "Content-Type: application/json" \
  -d '{"email":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "ok": true
}
Schema
okbooleanrequired
true
POSThttps://hermeticor.com/hub/{ws}/api/session

Swap the emailed link token for a 7-day session token

Parameters

wsstringpathrequired

Request body

application/json
tokenstringrequired
{
  "token": "string"
}

Code samples

cURL
curl -X POST "https://hermeticor.com/hub/{ws}/api/session" \
  -H "Content-Type: application/json" \
  -d '{"token":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "session": "string",
  "expiresAt": "string"
}
Schema
sessionstringrequired
expiresAtstringrequired

Updated