Skip to content

app.partner_agreements

TableRow level security on

Wholesale terms of a partner org (Section 4.6.1): the platform bills the partner at list price less the discount. Recorded by the platform with the service role; partners read their own.

Primary key: id

Columns of app.partner_agreements
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
wholesale_discount_bpsintegerNoDiscount off list price in basis points (2000 is 20 percent).
currency_codecharacter(3)NoCurrency the partner is billed in.References private.currencies.currency_code
signed_ondateNoDate the partner agreement was signed.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.