| Field | Type | Required | Description |
|---|---|---|---|
partner_id |
OptionalNullable[str] | ➖ | The ID of the partner to create a link for. Will take precedence over tenantId if provided. |
tenant_id |
OptionalNullable[str] | ➖ | The ID of the partner in your system. If both partnerId and tenantId are not provided, an error will be thrown. |
url |
str | ✔️ | The URL to upsert for. Will throw an error if the domain doesn't match the program's default URL domain. |
key |
Optional[str] | ➖ | The short link slug. If not provided, a random 7-character slug will be generated. |
comments |
OptionalNullable[str] | ➖ | The comments for the short link. |
link_props |
Optional[operations.UpsertPartnerLinkLinkProps] | ➖ | Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner. |