Skip to content

JTL-WAWI API (OnPrem) (1.1)

JTL-Wawi-Version: 1.11.0.0

Introduction

Welcome to the JTL-WAWI technical API documentation. This guide is here to help developers understand how our REST API works and how it can be integrated into your existing systems. We'll delve into the details of authentication and data manipulation processes, providing clear examples along the way. Whether you're a developer or an IT professional, this documentation aims to give you a practical understanding, laying the groundwork for effectively using the JTL-WAWI API to enhance your processes.

Authentication

You register your application with the API by sending a POST request with the required information and corresponding keys. You can find the exact request details at https://wawi-api.jtl-software.com/?#tag/appRegistration. This information has to include the following:

  • AppId
  • DisplayName
  • Description
  • Version
  • ProviderName
  • ProviderWebsite
  • MandatoryApiScopes

This data is crucial for identifying and registering your application with the API. The API uses it to generate a temporary authentication ID that allows your application to access the necessary resources. After successful validation of this information, you will receive the API key required for future authentication and API requests.

Before you can begin the registration process, you must open JTL-Wawi (new interface) and start the registration process under 'Admin->App registration'. Only at this point are you authorised to send the first API call. This step in JTL-Wawi ensures that your application is properly registered and has permission to use the API.

The API will send you an authentication ID in the form of a token. Once you have received this token and successfully completed the registration in JTL-Wawi, you will send another request to the API by including this authentication ID in the URL path.

After successful validation of this second request by the API and confirmation of the correct information, you will be provided with the actual API key. It is important to note that this API key will not be displayed again!

This API key will be used in the future to authenticate requests to the API. It is of utmost importance that you securely store the API key upon receipt, as it cannot be retrieved from any other location in the system.

HTTP Header

To make a successful API request, it is essential to include the correct authentication data in the request header. Upper case and lower case is ignored. The header should contain the following information:

  • X-AppID: This is the name of your application, in this case "MyApp/1.0.0". It is used to identify your application.
  • X-AppVersion: This is where the version number of your application is entered, in this case "1.0.0".
  • X-RunAs: Here, a JTL-Wawi user can be specified to perform an API call on their behalf (more details in the documentation).
  • X-ChallengeCode: You can enter any custom value here. The X-ChallengeCode is used during app registration and must be the same for all registration requests. The maximum length is 30 characters.
  • Authorization: The API key. Example: "Wawi 00000000-0000-00000-0000-000000000000"
Download OpenAPI description
Languages
Servers
Mock server

https://developer.jtl-software.com/_mock/products/erpapi/openapi/

Local OnPremise Environment

http://127.0.0.1:64110/api/eazybusiness/

odata

worker

Planned

Operations

wms

Query all pick lists for a specific wms warehouse that are not completed.
Operations

warehouse

Query all warehouses
Operations

transactionStatus

Query all transaction status for sales order
Operations

tax

Returns the Taxrate for the given Item
Operations

item

Query all tax classes
Operations

supplier

Query all suppliers
Operations

stock

Query stocks for a specific item, warehouse or storage location
Operations

shippingmethod

Query all shipping methods
Operations

salesorder

Query all sales orders
Operations

cancellationreason

Planned

Operations

salesinvoicecorrection

Development

saleschannel

Get all sales channels
Operations

return

Create a new return with associated items and packages.
Operations

returnstate

Planned

Operations

returnreason

Planned

Operations

property

Query all properties for items
Operations

printer

Returns all Installed Printers
Operations

paymentmethod

Query all payment methods
Operations

onholdreason

Query all on hold reasons for sales orders
Operations

offer

Execute the printing of a Offer
Operations

Configuration

Planned

Operations

invoice

Planned

Operations

info

Returns the status of the API
Operations

features

Returns the available feature sets with release state and API version
Operations

Extensibility

Planned

Operations

shipping

Development

deliverynote

Planned

Operations

customer

Query all customers
Operations

Query Customers

Request

Query all customers

Security
Wawi
Query
searchKeyWordstring

All Search Keywords for the customer, like the number and the most important fields from the billing address.

numberstring

Search for a specific customer number.

kKundenGruppeinteger(int32)
kKundenKategorieinteger(int32)
lastChangeFromstring(date-time)

All customers where the last change happened after or equal the given time

lastChangeTostring(date-time)

All customers where the last change happened before or equal the given time

pageNumberinteger(int32)

Number of the page of items to fetch.

pageSizeinteger(int32)

Size of the page that is specified by pageNumber.

Headers
api-versionstring

Specify the desired API version, e.g. '1.0'. If not provided, the last available version is set.

x-appidstringrequired

This is the name of your application, e.g. "MyApp/1.0.0". It is used to identify your application.

x-appversionstringrequired

This is where the version number of your application is entered, e.g. "1.0.0".

x-runasstring

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

X-SessionIdstring(uuid)

The id of a session in which the call will be executed.

curl -i -X GET \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/customers?searchKeyWord=string&number=string&kKundenGruppe=0&kKundenKategorie=0&lastChangeFrom=2019-08-24T14%3A15%3A22Z&lastChangeTo=2019-08-24T14%3A15%3A22Z&pageNumber=0&pageSize=0' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'api-version: string' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string'

Responses

Returns all customer, can be filtered by searchKeyWord or categoryId.

Bodyapplication/json
TotalItemsinteger(int32)required

Gets or sets the total number of items available in the data source.

PageNumberinteger(int32)required

Gets or sets the current page number in the paginated list.

PageSizeinteger(int32)required

Gets or sets the number of items per page in the paginated list.

ItemsArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Customer.Customer)required

Gets or sets the collection of items contained in the paged list.

Items[].​Idinteger(int32)(JTL.Data.Contracts.Keys.KundeKey)required
Items[].​Numberstringrequired

The customer's number.

Example: "C1005486"
Items[].​CustomerGroupIdinteger(int32)(JTL.Data.Contracts.Keys.KundenGruppeKey)required
Items[].​BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

Items[].​BillingAddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Items[].​BillingAddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Items[].​BillingAddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
Items[].​BillingAddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Items[].​BillingAddress.​Titlestringrequired

Official title

Example: "Dr."
Items[].​BillingAddress.​FirstNamestringrequired

Customer first name

Example: "John"
Items[].​BillingAddress.​LastNamestringrequired

Customer last name

Example: "Doe"
Items[].​BillingAddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Items[].​BillingAddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Items[].​BillingAddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Items[].​BillingAddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Items[].​BillingAddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Items[].​BillingAddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
Items[].​BillingAddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Items[].​BillingAddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Items[].​BillingAddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Items[].​BillingAddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
Items[].​BillingAddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Items[].​Shipmentaddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

Items[].​Shipmentaddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Items[].​Shipmentaddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Items[].​Shipmentaddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
Items[].​Shipmentaddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Items[].​Shipmentaddress.​Titlestringrequired

Official title

Example: "Dr."
Items[].​Shipmentaddress.​FirstNamestringrequired

Customer first name

Example: "John"
Items[].​Shipmentaddress.​LastNamestringrequired

Customer last name

Example: "Doe"
Items[].​Shipmentaddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Items[].​Shipmentaddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Items[].​Shipmentaddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Items[].​Shipmentaddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Items[].​Shipmentaddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Items[].​Shipmentaddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
Items[].​Shipmentaddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Items[].​Shipmentaddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Items[].​Shipmentaddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Items[].​Shipmentaddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
Items[].​Shipmentaddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Items[].​CustomAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

Items[].​CustomAddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Items[].​CustomAddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Items[].​CustomAddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
Items[].​CustomAddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Items[].​CustomAddress.​Titlestringrequired

Official title

Example: "Dr."
Items[].​CustomAddress.​FirstNamestringrequired

Customer first name

Example: "John"
Items[].​CustomAddress.​LastNamestringrequired

Customer last name

Example: "Doe"
Items[].​CustomAddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Items[].​CustomAddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Items[].​CustomAddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Items[].​CustomAddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Items[].​CustomAddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Items[].​CustomAddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
Items[].​CustomAddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Items[].​CustomAddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Items[].​CustomAddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Items[].​CustomAddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
Items[].​CustomAddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Items[].​OtherAddressesobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.OtherAddresses)required

Model Class: OtherAddresses

Items[].​OtherAddresses.​OtherBillingAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-default billing addresses of the customer.

Items[].​OtherAddresses.​OtherBillingAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Items[].​OtherAddresses.​OtherBillingAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Items[].​OtherAddresses.​OtherBillingAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
Items[].​OtherAddresses.​OtherBillingAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Items[].​OtherAddresses.​OtherBillingAddresses[].​Titlestringrequired

Official title

Example: "Dr."
Items[].​OtherAddresses.​OtherBillingAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
Items[].​OtherAddresses.​OtherBillingAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
Items[].​OtherAddresses.​OtherBillingAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Items[].​OtherAddresses.​OtherBillingAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Items[].​OtherAddresses.​OtherBillingAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Items[].​OtherAddresses.​OtherBillingAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Items[].​OtherAddresses.​OtherBillingAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Items[].​OtherAddresses.​OtherBillingAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
Items[].​OtherAddresses.​OtherBillingAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Items[].​OtherAddresses.​OtherBillingAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Items[].​OtherAddresses.​OtherBillingAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Items[].​OtherAddresses.​OtherBillingAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
Items[].​OtherAddresses.​OtherBillingAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Items[].​OtherAddresses.​OtherShippingAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-default shipping addresses of the customer.

Items[].​OtherAddresses.​OtherShippingAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Items[].​OtherAddresses.​OtherShippingAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Items[].​OtherAddresses.​OtherShippingAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
Items[].​OtherAddresses.​OtherShippingAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Items[].​OtherAddresses.​OtherShippingAddresses[].​Titlestringrequired

Official title

Example: "Dr."
Items[].​OtherAddresses.​OtherShippingAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
Items[].​OtherAddresses.​OtherShippingAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
Items[].​OtherAddresses.​OtherShippingAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Items[].​OtherAddresses.​OtherShippingAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Items[].​OtherAddresses.​OtherShippingAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Items[].​OtherAddresses.​OtherShippingAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Items[].​OtherAddresses.​OtherShippingAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Items[].​OtherAddresses.​OtherShippingAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
Items[].​OtherAddresses.​OtherShippingAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Items[].​OtherAddresses.​OtherShippingAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Items[].​OtherAddresses.​OtherShippingAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Items[].​OtherAddresses.​OtherShippingAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
Items[].​OtherAddresses.​OtherShippingAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Items[].​OtherAddresses.​OtherCustomerAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-billing and non-shipping addresses of the customer.

Items[].​OtherAddresses.​OtherCustomerAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Titlestringrequired

Official title

Example: "Dr."
Items[].​OtherAddresses.​OtherCustomerAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
Items[].​OtherAddresses.​OtherCustomerAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Items[].​PaymentSettingsobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.PaymentSettings)required

Model Class: PaymentSettings

Items[].​PaymentSettings.​PaymentMethodIdinteger(int32)(JTL.Data.Contracts.Keys.ZahlungsartKey)required
Items[].​PaymentSettings.​Discountnumber(decimal)required

The indicated discount, if any.

Example: 5
Items[].​PaymentSettings.​PaymentTargetinteger(int32)required

The payment target in days.

Example: 3
Items[].​PaymentSettings.​CreditLimitinteger(int32)required

The customer's credit limit.

Example: 100
Items[].​PaymentSettings.​StopPaymentRequestbooleanrequired

Option to stop payment requests.

Example: false
Items[].​CustomerSincestring(date-time)required

Date since they have been a customer.

Example: "2023-02-01T13:30:00.0000000+00:00"
Items[].​LastChangestring(date-time)required

Date of the last customer's data change.

Example: "2023-02-01T13:30:00.0000000+00:00"
Items[].​LanguageIsostringrequired

The customer's language.

Example: "DE"
Items[].​InternalCompanyIdinteger(int32)(JTL.Data.Contracts.Keys.FirmaKey)required
Items[].​CustomerCategoryIdinteger(int32)(JTL.Data.Contracts.Keys.KundenKategorieKey)required
Items[].​TaxIdentificationNumberstringrequired

The customer's tax identification number.

Example: "123/123/12345"
Items[].​AccountsReceivableNumberinteger(int32)required

The customer's accounts receivable number.

Example: 10000
Items[].​CommercialRegisterNumberstringrequired

The customer's commercial register number.

Example: "HRB 1234"
Items[].​Websitestringrequired

The customer's website.

Example: "https://mywebsite.com"
Items[].​InitialContactstringrequired

The source of initial contact. This could be for example a specific sales channel, a convention or a marketing campaign.

Example: "Amazon"
Items[].​EbayUsernamestringrequired

The customer's eBay username.

Example: "eBaybuyer123"
Items[].​Birthdaystring(date-time)required

The customer's date of birth.

Example: "1985-01-01T"
Items[].​IsLockedbooleanrequired

The customer's locked status for online shop sales channels.

Example: false
Items[].​IsCashRegisterBasedbooleanrequired

States if a customer is from a cash-register or point of sale and if their data should be synchronized with JTL-POS, for example.

Example: false
TotalPagesinteger(int32)read-only

Gets the total number of pages based on the total number of items and the page size.

HasPreviousPagebooleanread-only

Gets a value indicating whether there is a previous page available in the paginated list.

HasNextPagebooleanread-only

Gets a value indicating whether there is a next page available.

NextPageNumberinteger(int32)read-only

Gets the number of the next page if there is one; otherwise, returns the total number of pages.

PreviousPageNumberinteger(int32)read-only

Gets the number of the previous page. If there is no previous page, it returns 1.

Response
application/json
{ "TotalItems": 0, "PageNumber": 0, "PageSize": 0, "Items": [ {} ], "TotalPages": 0, "HasPreviousPage": true, "HasNextPage": true, "NextPageNumber": 0, "PreviousPageNumber": 0 }

Create Customer

Request

Create a new customer

Security
Wawi
Query
disableAutomaticWorkflowsboolean

If true, the workflows do not trigger automatic.

Headers
api-versionstring

Specify the desired API version, e.g. '1.0'. If not provided, the last available version is set.

x-appidstringrequired

This is the name of your application, e.g. "MyApp/1.0.0". It is used to identify your application.

x-appversionstringrequired

This is where the version number of your application is entered, e.g. "1.0.0".

x-runasstring

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

X-SessionIdstring(uuid)

The id of a session in which the call will be executed.

Bodyapplication/jsonrequired

The customer to create.

Numberstring
Example: "C1005486"
CustomerGroupIdinteger(int32)(JTL.Data.Contracts.Keys.KundenGruppeKey)required
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.CreateAddress)required

Model Class: CreateAddress

BillingAddress.​Companystring
Example: "Sportbedarf Sommer"
BillingAddress.​Company2string
Example: "Innovation Division"
BillingAddress.​FormOfAddressstring
Example: "Mr."
BillingAddress.​Titlestring
Example: "Dr."
BillingAddress.​FirstNamestring
Example: "John"
BillingAddress.​LastNamestring
Example: "Doe"
BillingAddress.​Streetstring
Example: "Main St. 123"
BillingAddress.​Address2string
Example: "Floor 5, Apt 302"
BillingAddress.​PostalCodestring
Example: "12345"
BillingAddress.​Citystring<= 255 charactersrequired

Name of city in the customer's address

Example: "Example City"
BillingAddress.​Statestring
Example: "Example State"
BillingAddress.​CountryIsostring<= 5 charactersrequired

Country ISO code

Example: "DE"
BillingAddress.​VatIDstring
Example: "DE123456789"
BillingAddress.​PhoneNumberstring
Example: "+49 1234 445556661"
BillingAddress.​MobilePhoneNumberstring
Example: "+49 160 123 4567"
BillingAddress.​EmailAddressstring
Example: "example@email.com"
BillingAddress.​Faxstring
Example: "+49 1234 4455566615"
Shipmentaddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.CreateAddress)

Model Class: CreateAddress

CustomAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.CreateAddress)

Model Class: CreateAddress

OtherAddressesobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.CreateOtherAddresses)

Model Class: CreateOtherAddresses

PaymentSettingsobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.CreatePaymentSettings)

Model Class: CreatePaymentSettings

CustomerSincestring(date-time)
Example: "2023-02-01T13:30:00.0000000+00:00"
LastChangestring(date-time)
Example: "2023-02-01T13:30:00.0000000+00:00"
LanguageIsostringrequired

The customer's language.

Example: "DE"
InternalCompanyIdinteger(int32)(JTL.Data.Contracts.Keys.FirmaKey)required
CustomerCategoryIdinteger(int32)(JTL.Data.Contracts.Keys.KundenKategorieKey)
TaxIdentificationNumberstring
Example: "123/123/12345"
AccountsReceivableNumberinteger(int32)
Example: 10000
CommercialRegisterNumberstring
Example: "HRB 1234"
Websitestring
Example: "https://mywebsite.com"
InitialContactstring
Example: "Amazon"
EbayUsernamestring
Example: "eBaybuyer123"
Birthdaystring(date-time)
Example: "1985-01-01T"
IsLockedboolean
Example: false
IsCashRegisterBasedboolean
Example: false
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/customers?disableAutomaticWorkflows=true' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'api-version: string' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "Number": "C1005486",
    "CustomerGroupId": 0,
    "BillingAddress": {
      "Company": "Sportbedarf Sommer",
      "Company2": "Innovation Division",
      "FormOfAddress": "Mr.",
      "Title": "Dr.",
      "FirstName": "John",
      "LastName": "Doe",
      "Street": "Main St. 123",
      "Address2": "Floor 5, Apt 302",
      "PostalCode": "12345",
      "City": "Example City",
      "State": "Example State",
      "CountryIso": "DE",
      "VatID": "DE123456789",
      "PhoneNumber": "+49 1234 445556661",
      "MobilePhoneNumber": "+49 160 123 4567",
      "EmailAddress": "example@email.com",
      "Fax": "+49 1234 4455566615"
    },
    "Shipmentaddress": {
      "Company": "Sportbedarf Sommer",
      "Company2": "Innovation Division",
      "FormOfAddress": "Mr.",
      "Title": "Dr.",
      "FirstName": "John",
      "LastName": "Doe",
      "Street": "Main St. 123",
      "Address2": "Floor 5, Apt 302",
      "PostalCode": "12345",
      "City": "Example City",
      "State": "Example State",
      "CountryIso": "DE",
      "VatID": "DE123456789",
      "PhoneNumber": "+49 1234 445556661",
      "MobilePhoneNumber": "+49 160 123 4567",
      "EmailAddress": "example@email.com",
      "Fax": "+49 1234 4455566615"
    },
    "CustomAddress": {
      "Company": "Sportbedarf Sommer",
      "Company2": "Innovation Division",
      "FormOfAddress": "Mr.",
      "Title": "Dr.",
      "FirstName": "John",
      "LastName": "Doe",
      "Street": "Main St. 123",
      "Address2": "Floor 5, Apt 302",
      "PostalCode": "12345",
      "City": "Example City",
      "State": "Example State",
      "CountryIso": "DE",
      "VatID": "DE123456789",
      "PhoneNumber": "+49 1234 445556661",
      "MobilePhoneNumber": "+49 160 123 4567",
      "EmailAddress": "example@email.com",
      "Fax": "+49 1234 4455566615"
    },
    "OtherAddresses": {
      "OtherBillingAddresses": [
        {
          "Company": "Sportbedarf Sommer",
          "Company2": "Innovation Division",
          "FormOfAddress": "Mr.",
          "Title": "Dr.",
          "FirstName": "John",
          "LastName": "Doe",
          "Street": "Main St. 123",
          "Address2": "Floor 5, Apt 302",
          "PostalCode": "12345",
          "City": "Example City",
          "State": "Example State",
          "CountryIso": "DE",
          "VatID": "DE123456789",
          "PhoneNumber": "+49 1234 445556661",
          "MobilePhoneNumber": "+49 160 123 4567",
          "EmailAddress": "example@email.com",
          "Fax": "+49 1234 4455566615"
        }
      ],
      "OtherShippingAddresses": [
        {
          "Company": "Sportbedarf Sommer",
          "Company2": "Innovation Division",
          "FormOfAddress": "Mr.",
          "Title": "Dr.",
          "FirstName": "John",
          "LastName": "Doe",
          "Street": "Main St. 123",
          "Address2": "Floor 5, Apt 302",
          "PostalCode": "12345",
          "City": "Example City",
          "State": "Example State",
          "CountryIso": "DE",
          "VatID": "DE123456789",
          "PhoneNumber": "+49 1234 445556661",
          "MobilePhoneNumber": "+49 160 123 4567",
          "EmailAddress": "example@email.com",
          "Fax": "+49 1234 4455566615"
        }
      ],
      "OtherCustomerAddresses": [
        {
          "Company": "Sportbedarf Sommer",
          "Company2": "Innovation Division",
          "FormOfAddress": "Mr.",
          "Title": "Dr.",
          "FirstName": "John",
          "LastName": "Doe",
          "Street": "Main St. 123",
          "Address2": "Floor 5, Apt 302",
          "PostalCode": "12345",
          "City": "Example City",
          "State": "Example State",
          "CountryIso": "DE",
          "VatID": "DE123456789",
          "PhoneNumber": "+49 1234 445556661",
          "MobilePhoneNumber": "+49 160 123 4567",
          "EmailAddress": "example@email.com",
          "Fax": "+49 1234 4455566615"
        }
      ]
    },
    "PaymentSettings": {
      "PaymentMethodId": 0,
      "Discount": 5,
      "PaymentTarget": 3,
      "CreditLimit": 100,
      "StopPaymentRequest": false
    },
    "CustomerSince": "2023-02-01T13:30:00.0000000+00:00",
    "LastChange": "2023-02-01T13:30:00.0000000+00:00",
    "LanguageIso": "DE",
    "InternalCompanyId": 0,
    "CustomerCategoryId": 0,
    "TaxIdentificationNumber": "123/123/12345",
    "AccountsReceivableNumber": 10000,
    "CommercialRegisterNumber": "HRB 1234",
    "Website": "https://mywebsite.com",
    "InitialContact": "Amazon",
    "EbayUsername": "eBaybuyer123",
    "Birthday": "1985-01-01T",
    "IsLocked": false,
    "IsCashRegisterBased": false
  }'

Responses

The created customer.

Bodyapplication/json
Idinteger(int32)(JTL.Data.Contracts.Keys.KundeKey)required
Numberstringrequired

The customer's number.

Example: "C1005486"
CustomerGroupIdinteger(int32)(JTL.Data.Contracts.Keys.KundenGruppeKey)required
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

BillingAddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
BillingAddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
BillingAddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
BillingAddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
BillingAddress.​Titlestringrequired

Official title

Example: "Dr."
BillingAddress.​FirstNamestringrequired

Customer first name

Example: "John"
BillingAddress.​LastNamestringrequired

Customer last name

Example: "Doe"
BillingAddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
BillingAddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
BillingAddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
BillingAddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
BillingAddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
BillingAddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
BillingAddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
BillingAddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
BillingAddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
BillingAddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
BillingAddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Shipmentaddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

Shipmentaddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Shipmentaddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Shipmentaddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
Shipmentaddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Shipmentaddress.​Titlestringrequired

Official title

Example: "Dr."
Shipmentaddress.​FirstNamestringrequired

Customer first name

Example: "John"
Shipmentaddress.​LastNamestringrequired

Customer last name

Example: "Doe"
Shipmentaddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Shipmentaddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Shipmentaddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Shipmentaddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Shipmentaddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Shipmentaddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
Shipmentaddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Shipmentaddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Shipmentaddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Shipmentaddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
Shipmentaddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
CustomAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

CustomAddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
CustomAddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
CustomAddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
CustomAddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
CustomAddress.​Titlestringrequired

Official title

Example: "Dr."
CustomAddress.​FirstNamestringrequired

Customer first name

Example: "John"
CustomAddress.​LastNamestringrequired

Customer last name

Example: "Doe"
CustomAddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
CustomAddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
CustomAddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
CustomAddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
CustomAddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
CustomAddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
CustomAddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
CustomAddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
CustomAddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
CustomAddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
CustomAddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
OtherAddressesobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.OtherAddresses)required

Model Class: OtherAddresses

OtherAddresses.​OtherBillingAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-default billing addresses of the customer.

OtherAddresses.​OtherBillingAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
OtherAddresses.​OtherBillingAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
OtherAddresses.​OtherBillingAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
OtherAddresses.​OtherBillingAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
OtherAddresses.​OtherBillingAddresses[].​Titlestringrequired

Official title

Example: "Dr."
OtherAddresses.​OtherBillingAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
OtherAddresses.​OtherBillingAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
OtherAddresses.​OtherBillingAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
OtherAddresses.​OtherBillingAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
OtherAddresses.​OtherBillingAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
OtherAddresses.​OtherBillingAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
OtherAddresses.​OtherBillingAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
OtherAddresses.​OtherBillingAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
OtherAddresses.​OtherBillingAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
OtherAddresses.​OtherBillingAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
OtherAddresses.​OtherBillingAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
OtherAddresses.​OtherBillingAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
OtherAddresses.​OtherBillingAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
OtherAddresses.​OtherShippingAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-default shipping addresses of the customer.

OtherAddresses.​OtherShippingAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
OtherAddresses.​OtherShippingAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
OtherAddresses.​OtherShippingAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
OtherAddresses.​OtherShippingAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
OtherAddresses.​OtherShippingAddresses[].​Titlestringrequired

Official title

Example: "Dr."
OtherAddresses.​OtherShippingAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
OtherAddresses.​OtherShippingAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
OtherAddresses.​OtherShippingAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
OtherAddresses.​OtherShippingAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
OtherAddresses.​OtherShippingAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
OtherAddresses.​OtherShippingAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
OtherAddresses.​OtherShippingAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
OtherAddresses.​OtherShippingAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
OtherAddresses.​OtherShippingAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
OtherAddresses.​OtherShippingAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
OtherAddresses.​OtherShippingAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
OtherAddresses.​OtherShippingAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
OtherAddresses.​OtherShippingAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
OtherAddresses.​OtherCustomerAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-billing and non-shipping addresses of the customer.

OtherAddresses.​OtherCustomerAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
OtherAddresses.​OtherCustomerAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
OtherAddresses.​OtherCustomerAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
OtherAddresses.​OtherCustomerAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
OtherAddresses.​OtherCustomerAddresses[].​Titlestringrequired

Official title

Example: "Dr."
OtherAddresses.​OtherCustomerAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
OtherAddresses.​OtherCustomerAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
OtherAddresses.​OtherCustomerAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
OtherAddresses.​OtherCustomerAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
OtherAddresses.​OtherCustomerAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
OtherAddresses.​OtherCustomerAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
OtherAddresses.​OtherCustomerAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
OtherAddresses.​OtherCustomerAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
OtherAddresses.​OtherCustomerAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
OtherAddresses.​OtherCustomerAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
OtherAddresses.​OtherCustomerAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
OtherAddresses.​OtherCustomerAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
OtherAddresses.​OtherCustomerAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
PaymentSettingsobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.PaymentSettings)required

Model Class: PaymentSettings

PaymentSettings.​PaymentMethodIdinteger(int32)(JTL.Data.Contracts.Keys.ZahlungsartKey)required
PaymentSettings.​Discountnumber(decimal)required

The indicated discount, if any.

Example: 5
PaymentSettings.​PaymentTargetinteger(int32)required

The payment target in days.

Example: 3
PaymentSettings.​CreditLimitinteger(int32)required

The customer's credit limit.

Example: 100
PaymentSettings.​StopPaymentRequestbooleanrequired

Option to stop payment requests.

Example: false
CustomerSincestring(date-time)required

Date since they have been a customer.

Example: "2023-02-01T13:30:00.0000000+00:00"
LastChangestring(date-time)required

Date of the last customer's data change.

Example: "2023-02-01T13:30:00.0000000+00:00"
LanguageIsostringrequired

The customer's language.

Example: "DE"
InternalCompanyIdinteger(int32)(JTL.Data.Contracts.Keys.FirmaKey)required
CustomerCategoryIdinteger(int32)(JTL.Data.Contracts.Keys.KundenKategorieKey)required
TaxIdentificationNumberstringrequired

The customer's tax identification number.

Example: "123/123/12345"
AccountsReceivableNumberinteger(int32)required

The customer's accounts receivable number.

Example: 10000
CommercialRegisterNumberstringrequired

The customer's commercial register number.

Example: "HRB 1234"
Websitestringrequired

The customer's website.

Example: "https://mywebsite.com"
InitialContactstringrequired

The source of initial contact. This could be for example a specific sales channel, a convention or a marketing campaign.

Example: "Amazon"
EbayUsernamestringrequired

The customer's eBay username.

Example: "eBaybuyer123"
Birthdaystring(date-time)required

The customer's date of birth.

Example: "1985-01-01T"
IsLockedbooleanrequired

The customer's locked status for online shop sales channels.

Example: false
IsCashRegisterBasedbooleanrequired

States if a customer is from a cash-register or point of sale and if their data should be synchronized with JTL-POS, for example.

Example: false
Response
application/json
{ "Id": 0, "Number": "C1005486", "CustomerGroupId": 0, "BillingAddress": { "Id": 0, "Company": "Sportbedarf Sommer", "Company2": "Innovation Division", "FormOfAddress": "Mr.", "Title": "Dr.", "FirstName": "John", "LastName": "Doe", "Street": "Main St. 123", "Address2": "Floor 5, Apt 302", "PostalCode": "12345", "City": "Example City", "State": "Example State", "CountryIso": "DE", "VatID": "DE123456789", "PhoneNumber": "+49 1234 445556661", "MobilePhoneNumber": "+49 160 123 4567", "EmailAddress": "example@email.com", "Fax": "+49 1234 4455566615" }, "Shipmentaddress": { "Id": 0, "Company": "Sportbedarf Sommer", "Company2": "Innovation Division", "FormOfAddress": "Mr.", "Title": "Dr.", "FirstName": "John", "LastName": "Doe", "Street": "Main St. 123", "Address2": "Floor 5, Apt 302", "PostalCode": "12345", "City": "Example City", "State": "Example State", "CountryIso": "DE", "VatID": "DE123456789", "PhoneNumber": "+49 1234 445556661", "MobilePhoneNumber": "+49 160 123 4567", "EmailAddress": "example@email.com", "Fax": "+49 1234 4455566615" }, "CustomAddress": { "Id": 0, "Company": "Sportbedarf Sommer", "Company2": "Innovation Division", "FormOfAddress": "Mr.", "Title": "Dr.", "FirstName": "John", "LastName": "Doe", "Street": "Main St. 123", "Address2": "Floor 5, Apt 302", "PostalCode": "12345", "City": "Example City", "State": "Example State", "CountryIso": "DE", "VatID": "DE123456789", "PhoneNumber": "+49 1234 445556661", "MobilePhoneNumber": "+49 160 123 4567", "EmailAddress": "example@email.com", "Fax": "+49 1234 4455566615" }, "OtherAddresses": { "OtherBillingAddresses": [], "OtherShippingAddresses": [], "OtherCustomerAddresses": [] }, "PaymentSettings": { "PaymentMethodId": 0, "Discount": 5, "PaymentTarget": 3, "CreditLimit": 100, "StopPaymentRequest": false }, "CustomerSince": "2023-02-01T13:30:00.0000000+00:00", "LastChange": "2023-02-01T13:30:00.0000000+00:00", "LanguageIso": "DE", "InternalCompanyId": 0, "CustomerCategoryId": 0, "TaxIdentificationNumber": "123/123/12345", "AccountsReceivableNumber": 10000, "CommercialRegisterNumber": "HRB 1234", "Website": "https://mywebsite.com", "InitialContact": "Amazon", "EbayUsername": "eBaybuyer123", "Birthday": "1985-01-01T", "IsLocked": false, "IsCashRegisterBased": false }

Get Customer

Request

Get a specific customer

Security
Wawi
Path
customerIdstringrequired
Headers
api-versionstring

Specify the desired API version, e.g. '1.0'. If not provided, the last available version is set.

x-appidstringrequired

This is the name of your application, e.g. "MyApp/1.0.0". It is used to identify your application.

x-appversionstringrequired

This is where the version number of your application is entered, e.g. "1.0.0".

x-runasstring

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

X-SessionIdstring(uuid)

The id of a session in which the call will be executed.

curl -i -X GET \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/customers/{customerId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'api-version: string' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string'

Responses

Returns the customer for the given id.

Bodyapplication/json
Idinteger(int32)(JTL.Data.Contracts.Keys.KundeKey)required
Numberstringrequired

The customer's number.

Example: "C1005486"
CustomerGroupIdinteger(int32)(JTL.Data.Contracts.Keys.KundenGruppeKey)required
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

BillingAddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
BillingAddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
BillingAddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
BillingAddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
BillingAddress.​Titlestringrequired

Official title

Example: "Dr."
BillingAddress.​FirstNamestringrequired

Customer first name

Example: "John"
BillingAddress.​LastNamestringrequired

Customer last name

Example: "Doe"
BillingAddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
BillingAddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
BillingAddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
BillingAddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
BillingAddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
BillingAddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
BillingAddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
BillingAddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
BillingAddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
BillingAddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
BillingAddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
Shipmentaddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

Shipmentaddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
Shipmentaddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
Shipmentaddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
Shipmentaddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
Shipmentaddress.​Titlestringrequired

Official title

Example: "Dr."
Shipmentaddress.​FirstNamestringrequired

Customer first name

Example: "John"
Shipmentaddress.​LastNamestringrequired

Customer last name

Example: "Doe"
Shipmentaddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
Shipmentaddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
Shipmentaddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
Shipmentaddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
Shipmentaddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
Shipmentaddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
Shipmentaddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
Shipmentaddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
Shipmentaddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
Shipmentaddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
Shipmentaddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
CustomAddressobject(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

Model Class: Address

CustomAddress.​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
CustomAddress.​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
CustomAddress.​Company2stringrequired

Additional company information

Example: "Innovation Division"
CustomAddress.​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
CustomAddress.​Titlestringrequired

Official title

Example: "Dr."
CustomAddress.​FirstNamestringrequired

Customer first name

Example: "John"
CustomAddress.​LastNamestringrequired

Customer last name

Example: "Doe"
CustomAddress.​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
CustomAddress.​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
CustomAddress.​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
CustomAddress.​Citystringrequired

Name of city in the customer's address

Example: "Example City"
CustomAddress.​Statestringrequired

Name of state in the customer's address

Example: "Example State"
CustomAddress.​CountryIsostringrequired

Country ISO code

Example: "DE"
CustomAddress.​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
CustomAddress.​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
CustomAddress.​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
CustomAddress.​EmailAddressstringrequired

Email address

Example: "example@email.com"
CustomAddress.​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
OtherAddressesobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.OtherAddresses)required

Model Class: OtherAddresses

OtherAddresses.​OtherBillingAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-default billing addresses of the customer.

OtherAddresses.​OtherBillingAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
OtherAddresses.​OtherBillingAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
OtherAddresses.​OtherBillingAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
OtherAddresses.​OtherBillingAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
OtherAddresses.​OtherBillingAddresses[].​Titlestringrequired

Official title

Example: "Dr."
OtherAddresses.​OtherBillingAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
OtherAddresses.​OtherBillingAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
OtherAddresses.​OtherBillingAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
OtherAddresses.​OtherBillingAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
OtherAddresses.​OtherBillingAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
OtherAddresses.​OtherBillingAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
OtherAddresses.​OtherBillingAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
OtherAddresses.​OtherBillingAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
OtherAddresses.​OtherBillingAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
OtherAddresses.​OtherBillingAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
OtherAddresses.​OtherBillingAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
OtherAddresses.​OtherBillingAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
OtherAddresses.​OtherBillingAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
OtherAddresses.​OtherShippingAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-default shipping addresses of the customer.

OtherAddresses.​OtherShippingAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
OtherAddresses.​OtherShippingAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
OtherAddresses.​OtherShippingAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
OtherAddresses.​OtherShippingAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
OtherAddresses.​OtherShippingAddresses[].​Titlestringrequired

Official title

Example: "Dr."
OtherAddresses.​OtherShippingAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
OtherAddresses.​OtherShippingAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
OtherAddresses.​OtherShippingAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
OtherAddresses.​OtherShippingAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
OtherAddresses.​OtherShippingAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
OtherAddresses.​OtherShippingAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
OtherAddresses.​OtherShippingAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
OtherAddresses.​OtherShippingAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
OtherAddresses.​OtherShippingAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
OtherAddresses.​OtherShippingAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
OtherAddresses.​OtherShippingAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
OtherAddresses.​OtherShippingAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
OtherAddresses.​OtherShippingAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
OtherAddresses.​OtherCustomerAddressesArray of objects(JTL.Wawi.Rest.Contracts.Models.V1.Common.Address)required

All other non-billing and non-shipping addresses of the customer.

OtherAddresses.​OtherCustomerAddresses[].​Idinteger(int32)(JTL.Data.Contracts.Keys.AdresseKey)required
OtherAddresses.​OtherCustomerAddresses[].​Companystringrequired

Description of the Company.

Example: "Sportbedarf Sommer"
OtherAddresses.​OtherCustomerAddresses[].​Company2stringrequired

Additional company information

Example: "Innovation Division"
OtherAddresses.​OtherCustomerAddresses[].​FormOfAddressstringrequired

Customer form of address

Example: "Mr."
OtherAddresses.​OtherCustomerAddresses[].​Titlestringrequired

Official title

Example: "Dr."
OtherAddresses.​OtherCustomerAddresses[].​FirstNamestringrequired

Customer first name

Example: "John"
OtherAddresses.​OtherCustomerAddresses[].​LastNamestringrequired

Customer last name

Example: "Doe"
OtherAddresses.​OtherCustomerAddresses[].​Streetstringrequired

Street name in the customer's address

Example: "Main St. 123"
OtherAddresses.​OtherCustomerAddresses[].​Address2stringrequired

Additional address information

Example: "Floor 5, Apt 302"
OtherAddresses.​OtherCustomerAddresses[].​PostalCodestringrequired

Postal code of the customer's address

Example: "12345"
OtherAddresses.​OtherCustomerAddresses[].​Citystringrequired

Name of city in the customer's address

Example: "Example City"
OtherAddresses.​OtherCustomerAddresses[].​Statestringrequired

Name of state in the customer's address

Example: "Example State"
OtherAddresses.​OtherCustomerAddresses[].​CountryIsostringrequired

Country ISO code

Example: "DE"
OtherAddresses.​OtherCustomerAddresses[].​VatIDstringrequired

Supplier VAT ID number

Example: "DE123456789"
OtherAddresses.​OtherCustomerAddresses[].​PhoneNumberstringrequired

Landline phone number

Example: "+49 1234 445556661"
OtherAddresses.​OtherCustomerAddresses[].​MobilePhoneNumberstringrequired

Mobile phone number

Example: "+49 160 123 4567"
OtherAddresses.​OtherCustomerAddresses[].​EmailAddressstringrequired

Email address

Example: "example@email.com"
OtherAddresses.​OtherCustomerAddresses[].​Faxstringrequired

Fax number

Example: "+49 1234 4455566615"
PaymentSettingsobject(JTL.Wawi.Rest.Contracts.Models.V1.Customer.PaymentSettings)required

Model Class: PaymentSettings

PaymentSettings.​PaymentMethodIdinteger(int32)(JTL.Data.Contracts.Keys.ZahlungsartKey)required
PaymentSettings.​Discountnumber(decimal)required

The indicated discount, if any.

Example: 5
PaymentSettings.​PaymentTargetinteger(int32)required

The payment target in days.

Example: 3
PaymentSettings.​CreditLimitinteger(int32)required

The customer's credit limit.

Example: 100
PaymentSettings.​StopPaymentRequestbooleanrequired

Option to stop payment requests.

Example: false
CustomerSincestring(date-time)required

Date since they have been a customer.

Example: "2023-02-01T13:30:00.0000000+00:00"
LastChangestring(date-time)required

Date of the last customer's data change.

Example: "2023-02-01T13:30:00.0000000+00:00"
LanguageIsostringrequired

The customer's language.

Example: "DE"
InternalCompanyIdinteger(int32)(JTL.Data.Contracts.Keys.FirmaKey)required
CustomerCategoryIdinteger(int32)(JTL.Data.Contracts.Keys.KundenKategorieKey)required
TaxIdentificationNumberstringrequired

The customer's tax identification number.

Example: "123/123/12345"
AccountsReceivableNumberinteger(int32)required

The customer's accounts receivable number.

Example: 10000
CommercialRegisterNumberstringrequired

The customer's commercial register number.

Example: "HRB 1234"
Websitestringrequired

The customer's website.

Example: "https://mywebsite.com"
InitialContactstringrequired

The source of initial contact. This could be for example a specific sales channel, a convention or a marketing campaign.

Example: "Amazon"
EbayUsernamestringrequired

The customer's eBay username.

Example: "eBaybuyer123"
Birthdaystring(date-time)required

The customer's date of birth.

Example: "1985-01-01T"
IsLockedbooleanrequired

The customer's locked status for online shop sales channels.

Example: false
IsCashRegisterBasedbooleanrequired

States if a customer is from a cash-register or point of sale and if their data should be synchronized with JTL-POS, for example.

Example: false
Response
application/json
{ "Id": 0, "Number": "C1005486", "CustomerGroupId": 0, "BillingAddress": { "Id": 0, "Company": "Sportbedarf Sommer", "Company2": "Innovation Division", "FormOfAddress": "Mr.", "Title": "Dr.", "FirstName": "John", "LastName": "Doe", "Street": "Main St. 123", "Address2": "Floor 5, Apt 302", "PostalCode": "12345", "City": "Example City", "State": "Example State", "CountryIso": "DE", "VatID": "DE123456789", "PhoneNumber": "+49 1234 445556661", "MobilePhoneNumber": "+49 160 123 4567", "EmailAddress": "example@email.com", "Fax": "+49 1234 4455566615" }, "Shipmentaddress": { "Id": 0, "Company": "Sportbedarf Sommer", "Company2": "Innovation Division", "FormOfAddress": "Mr.", "Title": "Dr.", "FirstName": "John", "LastName": "Doe", "Street": "Main St. 123", "Address2": "Floor 5, Apt 302", "PostalCode": "12345", "City": "Example City", "State": "Example State", "CountryIso": "DE", "VatID": "DE123456789", "PhoneNumber": "+49 1234 445556661", "MobilePhoneNumber": "+49 160 123 4567", "EmailAddress": "example@email.com", "Fax": "+49 1234 4455566615" }, "CustomAddress": { "Id": 0, "Company": "Sportbedarf Sommer", "Company2": "Innovation Division", "FormOfAddress": "Mr.", "Title": "Dr.", "FirstName": "John", "LastName": "Doe", "Street": "Main St. 123", "Address2": "Floor 5, Apt 302", "PostalCode": "12345", "City": "Example City", "State": "Example State", "CountryIso": "DE", "VatID": "DE123456789", "PhoneNumber": "+49 1234 445556661", "MobilePhoneNumber": "+49 160 123 4567", "EmailAddress": "example@email.com", "Fax": "+49 1234 4455566615" }, "OtherAddresses": { "OtherBillingAddresses": [], "OtherShippingAddresses": [], "OtherCustomerAddresses": [] }, "PaymentSettings": { "PaymentMethodId": 0, "Discount": 5, "PaymentTarget": 3, "CreditLimit": 100, "StopPaymentRequest": false }, "CustomerSince": "2023-02-01T13:30:00.0000000+00:00", "LastChange": "2023-02-01T13:30:00.0000000+00:00", "LanguageIso": "DE", "InternalCompanyId": 0, "CustomerCategoryId": 0, "TaxIdentificationNumber": "123/123/12345", "AccountsReceivableNumber": 10000, "CommercialRegisterNumber": "HRB 1234", "Website": "https://mywebsite.com", "InitialContact": "Amazon", "EbayUsername": "eBaybuyer123", "Birthday": "1985-01-01T", "IsLocked": false, "IsCashRegisterBased": false }

customerGroup

Query all customer groups
Operations

customerCategory

Query all customer categories
Operations

creditnote

Execute the printing of a CreditNote
Operations

company

Query all companies
Operations

colorcodes

Query all color codes for sales orders
Operations

category

Query all categories
Operations

appRegistration

Send a registration request for an (external) application
Operations

login

Sends a request to log in the user / dynamically assign the WAWI user. Only use this request if your API uses SSL.
Operations

logout

Sends a request to log out the user
Operations

accountingData

Planned

Operations