Skip to content

Partnership Agreements

Partnership agreements capture the commercial terms of a partnership — revenue share, referral fees, exclusivity, co-marketing, and contract and renewal dates — with full history per partner.

FieldTypeDescription
iduuidUnique identifier of the agreement.
account_iduuidID of the account that owns this agreement.
partnership_iduuidID of the partnership this agreement governs.
labelstringDisplay label of the agreement.
revenue_share_pctnumber?Revenue share owed under the agreement, as a percentage (e.g. 15 = 15%).
referral_feeint?Flat referral fee under the agreement, in integer cents.
exclusivityboolWhether the agreement grants exclusivity.
co_marketing_termsstringFree-text co-marketing terms.
contract_startstring?Contract start date (ISO 8601 date, YYYY-MM-DD).
contract_endstring?Contract end date (ISO 8601 date, YYYY-MM-DD).
renewal_datestring?Upcoming renewal date (ISO 8601 date, YYYY-MM-DD).
statusstringLifecycle status of the agreement. One of: draft, active, expired, terminated
created_atdatetimeTimestamp when the agreement was created (ISO 8601).
updated_atdatetimeTimestamp when the agreement was last updated (ISO 8601).
partnership_namestringName of the parent partnership (read-only, joined; populated on renewals listing).

Endpoint: partnership-agreements-create

FieldTypeRequiredDescription
partnership_idstringNoID of the partnership this agreement governs.
labelstringNoDisplay label of the agreement.
revenue_share_pctnumber?NoRevenue share owed, as a percentage (e.g. 15 = 15%).
referral_feeint?NoFlat referral fee in integer cents.
exclusivityboolNoWhether the agreement grants exclusivity.
co_marketing_termsstringNoFree-text co-marketing terms.
contract_startstring?NoContract start date (ISO 8601 date, YYYY-MM-DD).
contract_endstring?NoContract end date (ISO 8601 date, YYYY-MM-DD).
renewal_datestring?NoUpcoming renewal date (ISO 8601 date, YYYY-MM-DD).
statusstringNoLifecycle status; defaults to draft when omitted. One of: draft, active, expired, terminated
Terminal window
curl -X POST https://api.driftwoodapp.com/api/partnership-agreements-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'

Endpoint: partnership-agreements-delete

Endpoint: partnership-agreements-list

Endpoint: partnership-agreements-renewals

Endpoint: partnership-agreements-update

FieldTypeRequiredDescription
idstringNoID of the agreement to update.
labelstring?NoNew display label.
revenue_share_pctnumber?NoNew revenue share, as a percentage (e.g. 15 = 15%).
referral_feeint?NoNew flat referral fee in integer cents.
exclusivitybool?NoNew exclusivity flag.
co_marketing_termsstring?NoNew co-marketing terms.
contract_startstring?NoNew contract start date (ISO 8601 date, YYYY-MM-DD).
contract_endstring?NoNew contract end date (ISO 8601 date, YYYY-MM-DD).
renewal_datestring?NoNew renewal date (ISO 8601 date, YYYY-MM-DD).
statusstring?NoNew lifecycle status. One of: draft, active, expired, terminated
Terminal window
curl -X POST https://api.driftwoodapp.com/api/partnership-agreements-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CodeDescription
agreements.invalid_partnership_idInvalid partnership id
partnerships.not_foundNot found
agreements.invalid_idInvalid id
agreements.not_foundNot found