Debtors
Create debtor
Create a new debtor. The organization_id is automatically derived from your API token.
Partner tokens: customer_id is required so the system can determine which organization this debtor belongs to.
Client/org tokens: customer_id is optional (organization comes from the token).
POST
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
person, company Required for partner tokens. Links the debtor to a customer for organization resolution. Optional for client/org tokens.
Available options:
privateperson, protocolled_company, unprotocolled_company