Create a new customer
This action will create a new customer belonging to the authenticated reseller.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/customers/create
Access
Must be authenticated as a reseller.
If not authorised, a MustBeAReseller error will be returned.
Parameters
| Parameter | Type | Default |
|---|---|---|
|
name Required The name of the customer |
String | null |
|
invoice_reference The customer's invoice reference |
String | null |
|
line1 The first line of the customer's address |
String | null |
|
line2 The second line of the customer's address |
String | null |
|
line3 The third line of the customer's address |
String | null |
|
line4 The fourth line of the customer's address |
String | null |
|
postcode The customer's postcode |
String | null |
|
vat_number The customer's VAT number |
String | null |
|
vat_rate The VAT rate applied to this customer |
Decimal | null |
|
auto_payments Whether payments are automatically collected for this customer |
Boolean | null |
Errors
| Error | Attributes |
|---|---|
|
ValidationError A validation error occurred |
|
Response Data
This action will return a customer structure.
You will only receive basic data for this structure, no extended data is available.
By default, you'll receive all expansions for the structure. You remove any/all of them by
providing an array of new expansion names in the _expansions parameter on the
request.