Create new customer
POST/api/v2/Contracts/Customers
Create new customer
Request
- application/json
Body
required
Namestringrequired
Possible values: non-empty
and <= 100 characters
Codestringnullable
Possible values: <= 25 characters
Streetstringnullable
Possible values: <= 50 characters
Citystringnullable
Possible values: <= 50 characters
PostalCodestringnullable
Possible values: <= 20 characters
Countrystringnullable
Three letter ISO country code
Possible values: <= 3 characters
Notestringnullable
BusinessIdstringnullable
Possible values: <= 20 characters
VatNumberstringnullable
Possible values: <= 20 characters
Websitestringnullable
Possible values: <= 65 characters
Descriptionstringnullable
Possible values: <= 500 characters
ContactPersonNamestringnullable
Possible values: <= 50 characters
PhoneNumberstringnullable
Possible values: <= 30 characters
Emailstringnullable
Possible values: <= 65 characters
ExternalKeystringnullable
Possible values: <= 100 characters
Responses
- 201
- 400
Successfully Inserted
- application/json
- Schema
- Example (from schema)
Schema
Guidguidnullable
ExternalKeystringnullable
{
"Guid": "string",
"ExternalKey": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Codestringnullable
Messagestringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}