JTL-WAWI API v1 (1.1)

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/
http://127.0.0.1:52541/api/eazybusiness/

info

Operations

worker

Planned

Operations

features

Operations

printer

Operations

company

Operations

supplier

Operations

colorcodes

Operations

item

Operations

property

Operations

returnstate

Planned

Operations

onholdreason

Operations

returnreason

Planned

Operations

saleschannel

Operations

customerGroup

Operations

paymentmethod

Operations

odata

Operations

shippingmethod

Operations

warehouse

Operations

customerCategory

Operations

return

Operations

cancellationreason

Operations

transactionStatus

Operations

invoice

Planned

Operations

customer

Operations

category

Operations

salesorder

Operations

Create Sales OrderDeprecated

Request

DEPRECATED: Use Versioning with Header Create a new sales order

Query
renameSalesOrderNumberWhenAlreadyExistsboolean

If true, the sales order number will be renamed if it already exists.

disableAutomaticWorkflowsboolean

If true, the workflows do not trigger automatic.

Headers
x-appidstringrequired

This is the name of your application, in this case "MyApp/1.0.0". It is used to identify your application.

x-appversionstringrequired

This is where the version number of your application is entered, in this case "1.0.0".

x-runasstring

The User-Id as int or uuid to run the Request, a JTL-Wawi user can be specified to perform an API call on their behalf (more details in the documentation, Optional). To use the Header, you must have the needed Scope 'Application.RunAs'

X-SessionIdstring(uuid)

The id of a Session, in wich we call would be executed

Bodyapplication/jsonrequired

The sales order to create.

Numberstring

The number of the sales order.

Example: "A1004465"
ExternalNumberstring

The external number of the sales order.

Example: "D456-64894-132"
BillingNumberstring

The number of the invoice.

Example: "RE-202404-10000"
CompanyIdinteger(int32)required

The company of the sales order.

Example: 1
DepartureCountryobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.CreateDepartureCountry)

Model Class: CreateDepartureCountry

CustomerIdinteger(int32)required

The customer ID.

Example: 1005
CustomerVatIDstring

The VAT ID of the customer.

Example: "DE12345"
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.Common.CreateAddress)

Model Class: CreateAddress

Shipmentaddressobject(JTL.Wawi.Rest.Contracts.Models.Common.CreateAddress)

Model Class: CreateAddress

SalesOrderDatestring(date-time)

The date when the order was created.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesOrderPaymentDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.CreateSalesOrderPaymentDetail)

Model Class: CreateSalesOrderPaymentDetail

SalesOrderShippingDetailobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.CreateSalesOrderShippingDetail)

Model Class: CreateSalesOrderShippingDetail

ColorcodeIdinteger(int32)

The colour code of the sales order.

Example: 2
Commentstring

A comment on the sales order.

Example: "an additional order comment"
CustomerCommentstring

A customer comment on the sales order.

Example: "an additional customer comment"
LanguageIsostring

The language of the order.

Example: "DE"
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/v1/salesOrders?disableAutomaticWorkflows=true&renameSalesOrderNumberWhenAlreadyExists=true' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "Number": "A1004465",
    "ExternalNumber": "D456-64894-132",
    "BillingNumber": "RE-202404-10000",
    "CompanyId": 1,
    "DepartureCountry": {
      "CountryISO": "DE",
      "State": "Berlin",
      "CurrencyIso": "EUR",
      "CurrencyFactor": 1
    },
    "CustomerId": 1005,
    "CustomerVatID": "DE12345",
    "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"
    },
    "SalesOrderDate": "2023-02-01T12:45:00.0000000+00:00",
    "SalesOrderPaymentDetails": {
      "PaymentMethodId": 12,
      "CurrencyIso": "EUR",
      "CurrencyFactor": 1,
      "PaymentTarget": 0,
      "CashDiscount": 5,
      "CashDiscountDays": 2
    },
    "SalesOrderShippingDetail": {
      "ShippingMethodId": 3,
      "ShippingPriority": 5,
      "ShippingDate": "2023-01-15T13:00:00.0000000+00:00",
      "EstimatedDeliveryDate": "2023-01-16T13:00:00.0000000+00:00",
      "OnHoldReasonId": 1,
      "ExtraWeight": 0.1
    },
    "ColorcodeId": 2,
    "Comment": "an additional order comment",
    "CustomerComment": "an additional customer comment",
    "LanguageIso": "DE"
  }'

Responses

The created sales order.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify a sales order file.

Example: 123
Numberstringrequired

The number of the sales order.

Example: "A1004465"
ExternalNumberstringrequired

The external number of the sales order.

Example: "D456-64894-132"
BillingNumberstringrequired

The number of the invoice.

Example: "RE-202404-10000"
CompanyIdinteger(int32)required

The company of the sales order.

Example: 1
DepartureCountryobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.DepartureCountry)required

Model Class: DepartureCountry

DepartureCountry.​CountryISOstringrequired

ISO code of the departure country.

Example: "DE"
DepartureCountry.​Statestringrequired

Name of the state in the departure country.

Example: "Berlin"
DepartureCountry.​CurrencyIsostringrequired

ISO code of the currency of the departure country.

Example: "EUR"
DepartureCountry.​CurrencyFactornumber(decimal)required

The currency factor of the departure country.

Example: 1
CustomerIdinteger(int32)required

The customer ID.

Example: 1005
CustomerVatIDstringrequired

The VAT ID of the customer.

Example: "DE12345"
MerchantVatIDstringrequired

The VAT ID of the merchant.

Example: "DE12345"
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.Common.Address)required

Model Class: Address

BillingAddress.​Idinteger(int32)required

Unique ID to identify an address

Example: 100
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.Common.Address)required

Model Class: Address

Shipmentaddress.​Idinteger(int32)required

Unique ID to identify an address

Example: 100
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"
SalesOrderDatestring(date-time)required

The date when the order was created.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesOrderPaymentDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderPaymentDetail)required

Model Class: SalesOrderPaymentDetail

SalesOrderPaymentDetails.​PaymentMethodIdinteger(int32)required

The payment method of the sales order.

Example: 12
SalesOrderPaymentDetails.​PaymentStatusinteger(int32)required

The payment status of the sales order0=UnPayed | 1=PartialPayed | 2=Payed

Enum012
Example: ""
SalesOrderPaymentDetails.​TotalGrossAmountnumber(decimal)required

The total gross amount of the sales order.

Example: 19.99
SalesOrderPaymentDetails.​CurrencyIsostringrequired

ISO code of the currency of the sales order.

Example: "EUR"
SalesOrderPaymentDetails.​CurrencyFactornumber(decimal)required

The currency factor in the order at the time the order is created.

Example: 1
SalesOrderPaymentDetails.​DateOfPaymentstring(date-time)required

Date of payment that paid off the sales order.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderPaymentDetails.​StillToPaynumber(decimal)required

The amount that is left to pay for this sales order.

Example: 0
SalesOrderPaymentDetails.​PaymentTargetinteger(int32)required

The payment target of the sales order in days.

Example: 0
SalesOrderPaymentDetails.​CashDiscountnumber(decimal)required

The cash discount of the sales order.

Example: 5
SalesOrderPaymentDetails.​CashDiscountDaysinteger(int32)required

The days that the cash discount is valid.

Example: 2
SalesOrderShippingDetailobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderShippingDetail)required

Model Class: SalesOrderShippingDetail

SalesOrderShippingDetail.​ShippingMethodIdinteger(int32)required

The shipping method of the sales order.

Example: 3
SalesOrderShippingDetail.​DeliveryCompleteStatusinteger(int32)required

The delivery status of the sales order.0=DeliveryNotComplete | 1=DeliveryComplete | 2=DeliveryCompleteWithoutNote

Enum012
Example: ""
SalesOrderShippingDetail.​ShippingPriorityinteger(int32)required

The shipping priority of the sales order.

Example: 5
SalesOrderShippingDetail.​ShippingDatestring(date-time)required

The notified shipping date of the sales order.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​EstimatedDeliveryDatestring(date-time)required

The estimated delivery date of the sales order.

Example: "2023-01-16T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​DeliveredDatestring(date-time)required

The date when the sales order was delivered.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​OnHoldReasonIdinteger(int32)required

The ID of the on hold reason of the sales order.

Example: 1
SalesOrderShippingDetail.​ExtraWeightnumber(decimal)required

The extra weight added to the sales order.

Example: 0.1
ColorcodeIdinteger(int32)required

The colour code of the sales order.

Example: 2
IsExternalInvoicebooleanrequired

Indicates if the invoice of the order was created in an external system, like Amazon VCS.

Example: false
Commentstringrequired

A comment on the sales order.

Example: "an additional order comment"
CustomerCommentstringrequired

A customer comment on the sales order.

Example: "an additional customer comment"
IsCancelledbooleanrequired

Indicates if the order has been cancelled. There is a special endpoint for cancelling sales orders.

Example: false
LanguageIsostringrequired

The language of the order.

Example: "DE"
CancellationDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderCancellationDetails)required

Model Class: SalesOrderCancellationDetails

CancellationDetails.​CancellationReasonIdinteger(int32)required

The id of the reason for cancelling the sales order.

Example: -4
CancellationDetails.​CancellationCommentstringrequired

A comment that adds further information to the cancellation.

Example: "Change of mind (once again); we should consider terminating the customer relationship"
CancellationDetails.​Datestring(date-time)required

The DateTime of Cancellation.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesChannelIdstringrequired

The sales channel of the sales order.

Example: "1-1-1"
UserCreatedIdinteger(int32)required

The user who created the sales order.

Example: 1
UserIdinteger(int32)required

The user who is responsible for the sales order.

Example: 1
TransactionStatusIdinteger(int32)required

Unique ID to identify a transaction's status.

Example: 13
Response
application/json
{ "Id": 123, "Number": "A1004465", "ExternalNumber": "D456-64894-132", "BillingNumber": "RE-202404-10000", "CompanyId": 1, "DepartureCountry": { "CountryISO": "DE", "State": "Berlin", "CurrencyIso": "EUR", "CurrencyFactor": 1 }, "CustomerId": 1005, "CustomerVatID": "DE12345", "MerchantVatID": "DE12345", "BillingAddress": { "Id": 100, "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": 100, "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" }, "SalesOrderDate": "2023-02-01T12:45:00.0000000+00:00", "SalesOrderPaymentDetails": { "PaymentMethodId": 12, "PaymentStatus": "", "TotalGrossAmount": 19.99, "CurrencyIso": "EUR", "CurrencyFactor": 1, "DateOfPayment": "2023-01-15T13:00:00.0000000+00:00", "StillToPay": 0, "PaymentTarget": 0, "CashDiscount": 5, "CashDiscountDays": 2 }, "SalesOrderShippingDetail": { "ShippingMethodId": 3, "DeliveryCompleteStatus": "", "ShippingPriority": 5, "ShippingDate": "2023-01-15T13:00:00.0000000+00:00", "EstimatedDeliveryDate": "2023-01-16T13:00:00.0000000+00:00", "DeliveredDate": "2023-01-15T13:00:00.0000000+00:00", "OnHoldReasonId": 1, "ExtraWeight": 0.1 }, "ColorcodeId": 2, "IsExternalInvoice": false, "Comment": "an additional order comment", "CustomerComment": "an additional customer comment", "IsCancelled": false, "LanguageIso": "DE", "CancellationDetails": { "CancellationReasonId": -4, "CancellationComment": "Change of mind (once again); we should consider terminating the customer relationship", "Date": "2023-02-01T12:45:00.0000000+00:00" }, "SalesChannelId": "1-1-1", "UserCreatedId": 1, "UserId": 1, "TransactionStatusId": 13 }

Get Sales OrderDeprecated

Request

DEPRECATED: Use Versioning with Header Get a specific sales order

Path
salesOrderIdinteger(int32)required

The id of the order to return. Only non-pending orders are returned.

Headers
x-appidstringrequired

This is the name of your application, in this case "MyApp/1.0.0". It is used to identify your application.

x-appversionstringrequired

This is where the version number of your application is entered, in this case "1.0.0".

x-runasstring

The User-Id as int or uuid to run the Request, a JTL-Wawi user can be specified to perform an API call on their behalf (more details in the documentation, Optional). To use the Header, you must have the needed Scope 'Application.RunAs'

X-SessionIdstring(uuid)

The id of a Session, in wich we call would be executed

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

Responses

Returns the sales order for the given id.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify a sales order file.

Example: 123
Numberstringrequired

The number of the sales order.

Example: "A1004465"
ExternalNumberstringrequired

The external number of the sales order.

Example: "D456-64894-132"
BillingNumberstringrequired

The number of the invoice.

Example: "RE-202404-10000"
CompanyIdinteger(int32)required

The company of the sales order.

Example: 1
DepartureCountryobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.DepartureCountry)required

Model Class: DepartureCountry

DepartureCountry.​CountryISOstringrequired

ISO code of the departure country.

Example: "DE"
DepartureCountry.​Statestringrequired

Name of the state in the departure country.

Example: "Berlin"
DepartureCountry.​CurrencyIsostringrequired

ISO code of the currency of the departure country.

Example: "EUR"
DepartureCountry.​CurrencyFactornumber(decimal)required

The currency factor of the departure country.

Example: 1
CustomerIdinteger(int32)required

The customer ID.

Example: 1005
CustomerVatIDstringrequired

The VAT ID of the customer.

Example: "DE12345"
MerchantVatIDstringrequired

The VAT ID of the merchant.

Example: "DE12345"
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.Common.Address)required

Model Class: Address

BillingAddress.​Idinteger(int32)required

Unique ID to identify an address

Example: 100
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.Common.Address)required

Model Class: Address

Shipmentaddress.​Idinteger(int32)required

Unique ID to identify an address

Example: 100
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"
SalesOrderDatestring(date-time)required

The date when the order was created.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesOrderPaymentDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderPaymentDetail)required

Model Class: SalesOrderPaymentDetail

SalesOrderPaymentDetails.​PaymentMethodIdinteger(int32)required

The payment method of the sales order.

Example: 12
SalesOrderPaymentDetails.​PaymentStatusinteger(int32)required

The payment status of the sales order0=UnPayed | 1=PartialPayed | 2=Payed

Enum012
Example: ""
SalesOrderPaymentDetails.​TotalGrossAmountnumber(decimal)required

The total gross amount of the sales order.

Example: 19.99
SalesOrderPaymentDetails.​CurrencyIsostringrequired

ISO code of the currency of the sales order.

Example: "EUR"
SalesOrderPaymentDetails.​CurrencyFactornumber(decimal)required

The currency factor in the order at the time the order is created.

Example: 1
SalesOrderPaymentDetails.​DateOfPaymentstring(date-time)required

Date of payment that paid off the sales order.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderPaymentDetails.​StillToPaynumber(decimal)required

The amount that is left to pay for this sales order.

Example: 0
SalesOrderPaymentDetails.​PaymentTargetinteger(int32)required

The payment target of the sales order in days.

Example: 0
SalesOrderPaymentDetails.​CashDiscountnumber(decimal)required

The cash discount of the sales order.

Example: 5
SalesOrderPaymentDetails.​CashDiscountDaysinteger(int32)required

The days that the cash discount is valid.

Example: 2
SalesOrderShippingDetailobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderShippingDetail)required

Model Class: SalesOrderShippingDetail

SalesOrderShippingDetail.​ShippingMethodIdinteger(int32)required

The shipping method of the sales order.

Example: 3
SalesOrderShippingDetail.​DeliveryCompleteStatusinteger(int32)required

The delivery status of the sales order.0=DeliveryNotComplete | 1=DeliveryComplete | 2=DeliveryCompleteWithoutNote

Enum012
Example: ""
SalesOrderShippingDetail.​ShippingPriorityinteger(int32)required

The shipping priority of the sales order.

Example: 5
SalesOrderShippingDetail.​ShippingDatestring(date-time)required

The notified shipping date of the sales order.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​EstimatedDeliveryDatestring(date-time)required

The estimated delivery date of the sales order.

Example: "2023-01-16T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​DeliveredDatestring(date-time)required

The date when the sales order was delivered.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​OnHoldReasonIdinteger(int32)required

The ID of the on hold reason of the sales order.

Example: 1
SalesOrderShippingDetail.​ExtraWeightnumber(decimal)required

The extra weight added to the sales order.

Example: 0.1
ColorcodeIdinteger(int32)required

The colour code of the sales order.

Example: 2
IsExternalInvoicebooleanrequired

Indicates if the invoice of the order was created in an external system, like Amazon VCS.

Example: false
Commentstringrequired

A comment on the sales order.

Example: "an additional order comment"
CustomerCommentstringrequired

A customer comment on the sales order.

Example: "an additional customer comment"
IsCancelledbooleanrequired

Indicates if the order has been cancelled. There is a special endpoint for cancelling sales orders.

Example: false
LanguageIsostringrequired

The language of the order.

Example: "DE"
CancellationDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderCancellationDetails)required

Model Class: SalesOrderCancellationDetails

CancellationDetails.​CancellationReasonIdinteger(int32)required

The id of the reason for cancelling the sales order.

Example: -4
CancellationDetails.​CancellationCommentstringrequired

A comment that adds further information to the cancellation.

Example: "Change of mind (once again); we should consider terminating the customer relationship"
CancellationDetails.​Datestring(date-time)required

The DateTime of Cancellation.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesChannelIdstringrequired

The sales channel of the sales order.

Example: "1-1-1"
UserCreatedIdinteger(int32)required

The user who created the sales order.

Example: 1
UserIdinteger(int32)required

The user who is responsible for the sales order.

Example: 1
TransactionStatusIdinteger(int32)required

Unique ID to identify a transaction's status.

Example: 13
Response
application/json
{ "Id": 123, "Number": "A1004465", "ExternalNumber": "D456-64894-132", "BillingNumber": "RE-202404-10000", "CompanyId": 1, "DepartureCountry": { "CountryISO": "DE", "State": "Berlin", "CurrencyIso": "EUR", "CurrencyFactor": 1 }, "CustomerId": 1005, "CustomerVatID": "DE12345", "MerchantVatID": "DE12345", "BillingAddress": { "Id": 100, "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": 100, "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" }, "SalesOrderDate": "2023-02-01T12:45:00.0000000+00:00", "SalesOrderPaymentDetails": { "PaymentMethodId": 12, "PaymentStatus": "", "TotalGrossAmount": 19.99, "CurrencyIso": "EUR", "CurrencyFactor": 1, "DateOfPayment": "2023-01-15T13:00:00.0000000+00:00", "StillToPay": 0, "PaymentTarget": 0, "CashDiscount": 5, "CashDiscountDays": 2 }, "SalesOrderShippingDetail": { "ShippingMethodId": 3, "DeliveryCompleteStatus": "", "ShippingPriority": 5, "ShippingDate": "2023-01-15T13:00:00.0000000+00:00", "EstimatedDeliveryDate": "2023-01-16T13:00:00.0000000+00:00", "DeliveredDate": "2023-01-15T13:00:00.0000000+00:00", "OnHoldReasonId": 1, "ExtraWeight": 0.1 }, "ColorcodeId": 2, "IsExternalInvoice": false, "Comment": "an additional order comment", "CustomerComment": "an additional customer comment", "IsCancelled": false, "LanguageIso": "DE", "CancellationDetails": { "CancellationReasonId": -4, "CancellationComment": "Change of mind (once again); we should consider terminating the customer relationship", "Date": "2023-02-01T12:45:00.0000000+00:00" }, "SalesChannelId": "1-1-1", "UserCreatedId": 1, "UserId": 1, "TransactionStatusId": 13 }

Update Sales OrderDeprecated

Request

DEPRECATED: Use Versioning with Header Update a specific sales order

Path
salesOrderIdinteger(int32)required

The id of the sales order to update.

Query
recalculateTaxinteger(int32)

0 - Keine Neuberechnung, auch wenn steuerrelevante Felder geändert wurden. 1 - Nettopreise beibehalten (Änderungen des Mehrwertsteuersatzes werden vom Kunden getragen). 2 - Bruttopreise beibehalten (Änderungen des Mehrwertsteuersatzes werden vom Einzelhändler getragen).

Enum012
disableAutomaticWorkflowsboolean

If true, the workflows do not trigger automatic.

Headers
x-appidstringrequired

This is the name of your application, in this case "MyApp/1.0.0". It is used to identify your application.

x-appversionstringrequired

This is where the version number of your application is entered, in this case "1.0.0".

x-runasstring

The User-Id as int or uuid to run the Request, a JTL-Wawi user can be specified to perform an API call on their behalf (more details in the documentation, Optional). To use the Header, you must have the needed Scope 'Application.RunAs'

X-SessionIdstring(uuid)

The id of a Session, in wich we call would be executed

Bodyapplication/jsonrequired

The sales order to update.

ExternalNumberstring

The external number of the sales order.

Example: "D456-64894-132"
BillingNumberstring

The number of the invoice.

Example: "RE-202404-10000"
CompanyIdinteger(int32)

The company of the sales order.

Example: 1
DepartureCountryobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.UpdateDepartureCountry)

Model Class: UpdateDepartureCountry

CustomerIdinteger(int32)

The customer ID.

Example: 1005
CustomerVatIDstring

The VAT ID of the customer.

Example: "DE12345"
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.Common.UpdateAddress)

Model Class: UpdateAddress

Shipmentaddressobject(JTL.Wawi.Rest.Contracts.Models.Common.UpdateAddress)

Model Class: UpdateAddress

SalesOrderDatestring(date-time)

The date when the order was created.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesOrderPaymentDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.UpdateSalesOrderPaymentDetail)

Model Class: UpdateSalesOrderPaymentDetail

SalesOrderShippingDetailobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.UpdateSalesOrderShippingDetail)

Model Class: UpdateSalesOrderShippingDetail

ColorcodeIdinteger(int32)

The colour code of the sales order.

Example: 2
Commentstring

A comment on the sales order.

Example: "an additional order comment"
CustomerCommentstring

A customer comment on the sales order.

Example: "an additional customer comment"
LanguageIsostring

The language of the order.

Example: "DE"
curl -i -X PATCH \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/v1/salesOrders/{salesOrderId}?disableAutomaticWorkflows=true&recalculateTax=0' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "ExternalNumber": "D456-64894-132",
    "BillingNumber": "RE-202404-10000",
    "CompanyId": 1,
    "DepartureCountry": {
      "CountryISO": "DE",
      "State": "Berlin",
      "CurrencyIso": "EUR",
      "CurrencyFactor": 1
    },
    "CustomerId": 1005,
    "CustomerVatID": "DE12345",
    "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"
    },
    "SalesOrderDate": "2023-02-01T12:45:00.0000000+00:00",
    "SalesOrderPaymentDetails": {
      "PaymentMethodId": 12,
      "CurrencyIso": "EUR",
      "CurrencyFactor": 1,
      "PaymentTarget": 0,
      "CashDiscount": 5,
      "CashDiscountDays": 2
    },
    "SalesOrderShippingDetail": {
      "ShippingMethodId": 3,
      "ShippingPriority": 5,
      "ShippingDate": "2023-01-15T13:00:00.0000000+00:00",
      "EstimatedDeliveryDate": "2023-01-16T13:00:00.0000000+00:00",
      "OnHoldReasonId": 1,
      "ExtraWeight": 0.1
    },
    "ColorcodeId": 2,
    "Comment": "an additional order comment",
    "CustomerComment": "an additional customer comment",
    "LanguageIso": "DE"
  }'

Responses

The updated sales order.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify a sales order file.

Example: 123
Numberstringrequired

The number of the sales order.

Example: "A1004465"
ExternalNumberstringrequired

The external number of the sales order.

Example: "D456-64894-132"
BillingNumberstringrequired

The number of the invoice.

Example: "RE-202404-10000"
CompanyIdinteger(int32)required

The company of the sales order.

Example: 1
DepartureCountryobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.DepartureCountry)required

Model Class: DepartureCountry

DepartureCountry.​CountryISOstringrequired

ISO code of the departure country.

Example: "DE"
DepartureCountry.​Statestringrequired

Name of the state in the departure country.

Example: "Berlin"
DepartureCountry.​CurrencyIsostringrequired

ISO code of the currency of the departure country.

Example: "EUR"
DepartureCountry.​CurrencyFactornumber(decimal)required

The currency factor of the departure country.

Example: 1
CustomerIdinteger(int32)required

The customer ID.

Example: 1005
CustomerVatIDstringrequired

The VAT ID of the customer.

Example: "DE12345"
MerchantVatIDstringrequired

The VAT ID of the merchant.

Example: "DE12345"
BillingAddressobject(JTL.Wawi.Rest.Contracts.Models.Common.Address)required

Model Class: Address

BillingAddress.​Idinteger(int32)required

Unique ID to identify an address

Example: 100
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.Common.Address)required

Model Class: Address

Shipmentaddress.​Idinteger(int32)required

Unique ID to identify an address

Example: 100
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"
SalesOrderDatestring(date-time)required

The date when the order was created.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesOrderPaymentDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderPaymentDetail)required

Model Class: SalesOrderPaymentDetail

SalesOrderPaymentDetails.​PaymentMethodIdinteger(int32)required

The payment method of the sales order.

Example: 12
SalesOrderPaymentDetails.​PaymentStatusinteger(int32)required

The payment status of the sales order0=UnPayed | 1=PartialPayed | 2=Payed

Enum012
Example: ""
SalesOrderPaymentDetails.​TotalGrossAmountnumber(decimal)required

The total gross amount of the sales order.

Example: 19.99
SalesOrderPaymentDetails.​CurrencyIsostringrequired

ISO code of the currency of the sales order.

Example: "EUR"
SalesOrderPaymentDetails.​CurrencyFactornumber(decimal)required

The currency factor in the order at the time the order is created.

Example: 1
SalesOrderPaymentDetails.​DateOfPaymentstring(date-time)required

Date of payment that paid off the sales order.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderPaymentDetails.​StillToPaynumber(decimal)required

The amount that is left to pay for this sales order.

Example: 0
SalesOrderPaymentDetails.​PaymentTargetinteger(int32)required

The payment target of the sales order in days.

Example: 0
SalesOrderPaymentDetails.​CashDiscountnumber(decimal)required

The cash discount of the sales order.

Example: 5
SalesOrderPaymentDetails.​CashDiscountDaysinteger(int32)required

The days that the cash discount is valid.

Example: 2
SalesOrderShippingDetailobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderShippingDetail)required

Model Class: SalesOrderShippingDetail

SalesOrderShippingDetail.​ShippingMethodIdinteger(int32)required

The shipping method of the sales order.

Example: 3
SalesOrderShippingDetail.​DeliveryCompleteStatusinteger(int32)required

The delivery status of the sales order.0=DeliveryNotComplete | 1=DeliveryComplete | 2=DeliveryCompleteWithoutNote

Enum012
Example: ""
SalesOrderShippingDetail.​ShippingPriorityinteger(int32)required

The shipping priority of the sales order.

Example: 5
SalesOrderShippingDetail.​ShippingDatestring(date-time)required

The notified shipping date of the sales order.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​EstimatedDeliveryDatestring(date-time)required

The estimated delivery date of the sales order.

Example: "2023-01-16T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​DeliveredDatestring(date-time)required

The date when the sales order was delivered.

Example: "2023-01-15T13:00:00.0000000+00:00"
SalesOrderShippingDetail.​OnHoldReasonIdinteger(int32)required

The ID of the on hold reason of the sales order.

Example: 1
SalesOrderShippingDetail.​ExtraWeightnumber(decimal)required

The extra weight added to the sales order.

Example: 0.1
ColorcodeIdinteger(int32)required

The colour code of the sales order.

Example: 2
IsExternalInvoicebooleanrequired

Indicates if the invoice of the order was created in an external system, like Amazon VCS.

Example: false
Commentstringrequired

A comment on the sales order.

Example: "an additional order comment"
CustomerCommentstringrequired

A customer comment on the sales order.

Example: "an additional customer comment"
IsCancelledbooleanrequired

Indicates if the order has been cancelled. There is a special endpoint for cancelling sales orders.

Example: false
LanguageIsostringrequired

The language of the order.

Example: "DE"
CancellationDetailsobject(JTL.Wawi.Rest.Contracts.Models.SalesOrder.SalesOrderCancellationDetails)required

Model Class: SalesOrderCancellationDetails

CancellationDetails.​CancellationReasonIdinteger(int32)required

The id of the reason for cancelling the sales order.

Example: -4
CancellationDetails.​CancellationCommentstringrequired

A comment that adds further information to the cancellation.

Example: "Change of mind (once again); we should consider terminating the customer relationship"
CancellationDetails.​Datestring(date-time)required

The DateTime of Cancellation.

Example: "2023-02-01T12:45:00.0000000+00:00"
SalesChannelIdstringrequired

The sales channel of the sales order.

Example: "1-1-1"
UserCreatedIdinteger(int32)required

The user who created the sales order.

Example: 1
UserIdinteger(int32)required

The user who is responsible for the sales order.

Example: 1
TransactionStatusIdinteger(int32)required

Unique ID to identify a transaction's status.

Example: 13
Response
application/json
{ "Id": 123, "Number": "A1004465", "ExternalNumber": "D456-64894-132", "BillingNumber": "RE-202404-10000", "CompanyId": 1, "DepartureCountry": { "CountryISO": "DE", "State": "Berlin", "CurrencyIso": "EUR", "CurrencyFactor": 1 }, "CustomerId": 1005, "CustomerVatID": "DE12345", "MerchantVatID": "DE12345", "BillingAddress": { "Id": 100, "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": 100, "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" }, "SalesOrderDate": "2023-02-01T12:45:00.0000000+00:00", "SalesOrderPaymentDetails": { "PaymentMethodId": 12, "PaymentStatus": "", "TotalGrossAmount": 19.99, "CurrencyIso": "EUR", "CurrencyFactor": 1, "DateOfPayment": "2023-01-15T13:00:00.0000000+00:00", "StillToPay": 0, "PaymentTarget": 0, "CashDiscount": 5, "CashDiscountDays": 2 }, "SalesOrderShippingDetail": { "ShippingMethodId": 3, "DeliveryCompleteStatus": "", "ShippingPriority": 5, "ShippingDate": "2023-01-15T13:00:00.0000000+00:00", "EstimatedDeliveryDate": "2023-01-16T13:00:00.0000000+00:00", "DeliveredDate": "2023-01-15T13:00:00.0000000+00:00", "OnHoldReasonId": 1, "ExtraWeight": 0.1 }, "ColorcodeId": 2, "IsExternalInvoice": false, "Comment": "an additional order comment", "CustomerComment": "an additional customer comment", "IsCancelled": false, "LanguageIso": "DE", "CancellationDetails": { "CancellationReasonId": -4, "CancellationComment": "Change of mind (once again); we should consider terminating the customer relationship", "Date": "2023-02-01T12:45:00.0000000+00:00" }, "SalesChannelId": "1-1-1", "UserCreatedId": 1, "UserId": 1, "TransactionStatusId": 13 }

Configuration

Planned

Operations

deliverynote

Planned

Operations

appRegistration

Operations

login

Operations

logout

Operations

wms

Operations

stock

Operations

accountingData

Planned

Operations

tax

Operations

shipping

Development

offer

Operations

creditnote

Operations