Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 11 KB

createpartnerrequestbody.md

File metadata and controls

16 lines (13 loc) · 11 KB

CreatePartnerRequestBody

Fields

Field Type Required Description
program_id ::String ✔️ The ID of the program to create a partner for.
name ::String ✔️ Full legal name of the partner.
email ::String ✔️ Email for the partner in your system. Partners will be able to claim their profile by signing up to Dub Partners with this email.
username T.nilable(::String) A unique username for the partner in your system (max 100 characters). This will be used to create a short link for the partner using your program's default domain. If not provided, Dub will try to generate a username from the partner's name or email.
image T.nilable(::String) Avatar image for the partner – if not provided, a default avatar will be used.
country T.nilable(::OpenApiSDK::Operations::Country) Country where the partner is based.
description T.nilable(::String) A brief description of the partner and their background.
tenant_id T.nilable(::String) The ID of the partner in your system.
link_props T.nilable(::OpenApiSDK::Operations::LinkProps) Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.