Skip to main content
POST
/
me
/
favorites
Favorite a merchant
curl --request POST \
  --url http://localhost:4000/me/favorites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "merchantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "merchantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer JWT signed by your app, with iss matching the issuer registered on the partner record. Verified against your JWKS URL or static public key.

Body

application/json
merchantId
string<uuid>
required

Response

Already favorited.

Already favorited.

userId
string<uuid>
merchantId
string<uuid>
createdAt
string<date-time>