Skip to main content

Rename referral-agent link

PATCH 

/v1/partnership/referral-agent-links/:agent_link_id

Rename a referral-agent link. This operation changes only the alias and returns the link identifier with the saved alias; it does not change reward-share terms or shared-report configuration.

Required scopes:

  • write: partnership.all.

Runtime restrictions:

  • The referral-agent link must belong to the partner associated with the API key.
  • The link can be renamed when its status is ACTIVE, ARCHIVED, or COMMISSION_RESTRICTED.
  • The new alias must be unique within the partner's referral-agent links.

Rules:

  • alias must contain 1 to 50 characters.

Rate limits:

  • This operation counts toward the shared limit of 600 requests per 60 seconds per partner, across all of the partner's API keys and all Partnership API operations.

Consistency and recovery notes:

  • The current Partnership API does not provide idempotent-write semantics. After a timeout or connection failure, read the affected resource or list before deciding whether to retry.

Possible errors:

  • Throttled
  • ServiceTransportError
  • Error
  • AuthenticationFailed
  • PermissionDenied
  • ValidationError
  • NotFound

Request​

Responses​

Successful response.