Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 5.12 KB

File metadata and controls

13 lines (10 loc) · 5.12 KB

CreatePartnerLinkRequestBody

Fields

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 OptionalNullable[str] The URL to shorten (if not provided, the program's default URL will be used). 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.CreatePartnerLinkLinkProps] Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.