POST api/Customers

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
ID

integer

None.

Code

string

None.

Name

string

None.

FirstName

string

None.

LastName

string

None.

CustomerKey

globally unique identifier

None.

CustomerGroupID

integer

None.

CreationDate

date

None.

ModificationDate

date

None.

Barcode

string

None.

Address

string

None.

Address_2

string

None.

AddressNr

string

None.

AddressBox

string

None.

PostalCode

string

None.

Community

string

None.

Gender

string

None.

Phones

Collection of Phone

None.

WebURL

string

None.

Email

string

Data type: EmailAddress

Matching regular expression pattern: [A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?

WebPass_Plain

string

None.

Optin

boolean

None.

Language

string

None.

VATLiable

boolean

None.

VATCountry

string

None.

VATNumber

string

None.

InvoicePeriod

integer

None.

InvoiceCumulType

integer

None.

InvoicePaymentCondition

integer

None.

DiscountPercentage

decimal number

None.

PricesExclusive

boolean

None.

TicketDigital

boolean

None.

InvoiceDeliveryAddresses

Collection of DeliveryAddress

None.

ShopIDPreferred

integer

None.

IsPersonnel

boolean

None.

ValidationError

Customer_ValidationError

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 2",
  "name": "sample string 3",
  "firstname": "sample string 4",
  "lastname": "sample string 5",
  "customerkey": "b133729b-e425-4e81-b12f-e4506a220f9f",
  "customergroupid": 7,
  "creationdate": "2026-10-02T12:18:06+02:00",
  "modificationdate": "2026-10-02T12:18:06+02:00",
  "barcode": "sample string 10",
  "address": "sample string 11",
  "address_2": "sample string 12",
  "addressnr": "sample string 13",
  "addressbox": "sample string 14",
  "postalcode": "sample string 15",
  "community": "sample string 16",
  "gender": "sample string 17",
  "phones": [
    {
      "sequence": 1,
      "type": 1,
      "typetext": "sample string 2",
      "phonenumber": "sample string 3"
    },
    {
      "sequence": 1,
      "type": 1,
      "typetext": "sample string 2",
      "phonenumber": "sample string 3"
    }
  ],
  "weburl": "sample string 18",
  "email": "sample string 19",
  "webpass_plain": "sample string 20",
  "optin": true,
  "language": "sample string 21",
  "vatliable": true,
  "vatcountry": "sample string 23",
  "vatnumber": "sample string 24",
  "invoiceperiod": 25,
  "invoicecumultype": 26,
  "invoicepaymentcondition": 27,
  "discountpercentage": 28.1,
  "pricesexclusive": true,
  "ticketdigital": true,
  "invoicedeliveryaddresses": [
    {
      "id": 1,
      "key": "7c459e3b-439d-441d-9b48-372279fdf7ba",
      "customerid": 3,
      "customerkey": "948785b5-3c72-4838-9525-ad7ea8978c4a",
      "name": "sample string 5",
      "address": "sample string 6",
      "postalcode": "sample string 7",
      "community": "sample string 8",
      "phone": "sample string 9",
      "email": "sample string 10"
    },
    {
      "id": 1,
      "key": "7c459e3b-439d-441d-9b48-372279fdf7ba",
      "customerid": 3,
      "customerkey": "948785b5-3c72-4838-9525-ad7ea8978c4a",
      "name": "sample string 5",
      "address": "sample string 6",
      "postalcode": "sample string 7",
      "community": "sample string 8",
      "phone": "sample string 9",
      "email": "sample string 10"
    }
  ],
  "shopidpreferred": 1,
  "ispersonnel": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.