Triple API and Webhooks
Affiliate Links
Generate an affiliate link
1min
POST
https://api.tripleup.dev/affiliate-link-api
triple Prod
BODY PARAMETERS
body
object
*card_account_external_id
string
*Partner-defined, external Card Account ID. If the Card Account does not exist for the specified Program, it will be created with an "enrolled" date of the current day (UTC-12). Required if card_account_internal_id is not defined.
card_program_external_id
string
*The partner-defined, external Card Program ID.
offer_id
string
*Triple Offer ID, provided by the API or offers file.
publisher_external_id
string
The partner-defined, external Publisher ID. Required for Portfolio Managers.
RESPONSES
200
OK
object
Example: {"url":"https://example.com/affiliate-link-consumer?id=long-unique-id"}
url
string
A URL for a link for the consumer
400
Bad request
401
Unauthorized
404
Merchant not found
object
Example: {"message":"merchant_id AcmeWidgets does not exist."}
message
string
A description of the failure.
500
Internal server error
Updated 24 Oct 2023
Did this page help you?