HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Create a new customer

Creates a new customer record in the system.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The customer to be created.

string
required
length ≤ 80

The complete name of the customer.

string | null

The string identifier of the customer from the external system.

string | null
required

The country of the billing address.

contactDetails
object | null
required

The contact details of the person who can be contacted regarding any concerns about this customer.

payoutInformation
object | null

The payout information of the customer. It's important to pass this information if you use Spirii financial services. This ensures correct invoicing.

billingDetails
object | null

The billing details of the customer. It's important to pass this information if you use Spirii financial services.

financialSetup
object | null

This financial setup ensures the customer receives accurate invoices in the correct language and currency, and on time.

billingSettings
object | null

The billing settings of the customer.

receiptSettings
object | null

The receipt settings of the customer.

boolean
Defaults to false

Whether the customer is registered as a taxable dealer. Used for tax handling. Manageable by Spirii admins only.

integer
required

The unique identifier of the owner also known as the parent customer.

string
enum
required

The type of customer. You can create private, business or CPOSubsidiary customers.

Allowed:
Responses

400

Bad Request. An explanation message will be provided.

401

Unauthorized. The requested operation cannot be performed with the current access permissions.

403

Forbidden. Your credentials are missing or not valid. An explanation message will be provided.

500

An unexpected error occurred on the server while processing the request.

502

The request failed due to an error in an upstream service.

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