Platform owner: create a partner and their code; application_id marks that application accepted

post/api/v1/platform/partners

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/platform/partners
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Request body

namestring required
businessstring nullable
emailstring email nullable
phonestring nullable
percentnumber

Share of subscription fees, default 20

monthsinteger

Months from the first payment the fee runs for, default 12

notesstring nullable
codestring required

Partner code for the link ?ref=CODE; stored upper case and never changed once issued

application_idstring uuid

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.