create_link
Creates a tracked link for a partner in a referral program using a two-step preview-and-confirm flow to prevent unintended changes.
Instructions
Create a tracked link for a partner in a program. Write: the first call returns a preview and a confirmToken; call again with confirm: true and that token to do it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| confirm | No | Set true, with confirmToken, to perform the change shown in the preview. | |
| partnerId | Yes | ||
| programId | Yes | ||
| confirmToken | No | The token a preview returned. | |
| destinationUrl | Yes |