Create partner

Creates a new partner. Only name is required (it must be a non-blank string); partnerCode, vat, sendEventToExternalSystem and settings are optional. The partner is always created under the caller's own client application - clientApplicationId cannot be set via the request body and is derived from the caller. The created partner is returned including its generated id and dateCreated.

Body Params

Payload used to create a partner. The partner is always created under the caller's own client application - there is no way to set clientApplicationId via this request.

string
required

Partner name. Required, must be a non-blank string.

string

Partner code. Must be unique; if omitted, one is generated automatically. Free-form string - the server does not enforce a length limit or character-set restriction on it beyond the uniqueness check.

string

VAT number. Free-form string - the server does not validate, normalize, or restrict its format.

boolean

Whether events should be sent to an external system

settings
object

Partner settings map. Only these top-level keys are allowed: maxNumberOfCards, numberOfReportGroups, showReportOverview, fieldSettings, fortnox. Any other top-level key is rejected with INVALID_PARTNER_SETTINGS_KEY.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json