Create new customer
POST/api/v2/Contracts/Customers
Create new customer
Request
- application/json
Body
required
Name stringrequired
Possible values: non-empty
and <= 50 characters
Code stringnullable
Possible values: <= 25 characters
Street stringnullable
Possible values: <= 50 characters
City stringnullable
Possible values: <= 50 characters
PostalCode stringnullable
Possible values: <= 20 characters
Country stringnullable
Three letter ISO country code
Possible values: <= 3 characters
Note stringnullable
BusinessId stringnullable
Possible values: <= 20 characters
VatNumber stringnullable
Possible values: <= 20 characters
Website stringnullable
Possible values: <= 65 characters
Description stringnullable
Possible values: <= 500 characters
ContactPersonName stringnullable
Possible values: <= 50 characters
PhoneNumber stringnullable
Possible values: <= 30 characters
Email stringnullable
Possible values: <= 65 characters
ExternalKey stringnullable
Possible values: <= 100 characters
Responses
- 201
- 400
Successfully Inserted
- application/json
- Schema
- Example (from schema)
Schema
Guid guidnullable
ExternalKey stringnullable
{
"Guid": "string",
"ExternalKey": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Code stringnullable
Message stringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Loading...