Profiles

Link profile

Profile is an object identifying remote account. You need linked profile to use sync endpoints.

After successful link you will get profile token, which is used in subsequent profile operations, usually as an ITAD-Profile header.

Linking is idempotent, if you lose your token, or you need it in different instance of your app, you can link the same profile again.

put/profiles/link/v1

Request

  • Base URL: https://api.isthereanydeal.com
  • URL: https://api.isthereanydeal.com/profiles/link/v1
  • Auth: OAuth 2 (authorization code, authorization URL https://isthereanydeal.com/oauth/authorize/, token URL https://isthereanydeal.com/oauth/token/, scopes: profiles)

Request body

accountIdstring required

Per-app unique ID. This can be any string, but it needs to uniquely identify the account within your app.

accountNamestring required

Name of the account. Does not need to be unique, it's meant to be a human-friendly name.

Response

Success response

tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.