Skip to main content
POST
/
v2
/
users
/
me
/
accept-terms
Accept Terms
curl --request POST \
  --url https://api.loyalty.dog/v2/users/me/accept-terms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "acceptTos": true,
  "acceptDpa": true,
  "acceptPrivacy": true,
  "tosVersion": "<string>",
  "dpaVersion": "<string>",
  "privacyVersion": "<string>"
}
'
{
  "tosAcceptedAt": "2023-11-07T05:31:56Z",
  "dpaAcceptedAt": "2023-11-07T05:31:56Z",
  "privacyAcceptedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

authorization
string | null

Body

application/json
acceptTos
boolean
required
acceptDpa
boolean
required
acceptPrivacy
boolean
required
tosVersion
string
required
Required string length: 1 - 50
dpaVersion
string
required
Required string length: 1 - 50
privacyVersion
string
required
Required string length: 1 - 50

Response

Successful Response

tosAcceptedAt
string<date-time>
required
dpaAcceptedAt
string<date-time>
required
privacyAcceptedAt
string<date-time>
required