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

Query Stocks Per Item

Request

Query stocks for a specific item, warehouse or storage location

Security
Wawi
Query
kArtikelinteger(int32)
kWarenlagerinteger(int32)
kWarenLagerPlatzinteger(int32)
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/stocks?kArtikel=0&kWarenlager=0&kWarenLagerPlatz=0&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

The requested stock information.

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.Stock.Stock)required

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

Items[].​WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
Items[].​StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
Items[].​StorageLocationNamestringrequired

Name of the storage location.

Example: "R15-F12-08"
Items[].​ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
Items[].​ShelfLifeExpirationDatestring(date-time)required

Shelf life expiration date of the item, if applicable.

Example: "TODO"
Items[].​BatchNumberstringrequired

Batch number of the item if, the item is a batch item.

Example: "20240315A"
Items[].​QuantityTotalnumber(decimal)required

Total quantity of this item at this storage location.

Example: 32
Items[].​QuantityLockedForShipmentnumber(decimal)required

Quantity at this storage location that is locked for shipment, f.e. because the storage location or warehouse is locked for shipment.

Example: 1
Items[].​QuantityLockedForAvailabilitynumber(decimal)required

Quantity at this storage location that is locked for availability, f.e. because the storage location or warehouse is locked for availability.

Example: 0
Items[].​QuantityInPickingListsnumber(decimal)required

Quantity at this storage location that is on picking lists.

Example: 3
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 }

Stock Adjustment

Request

Adjust the stock of a specific item. Depending from the item and warehouse many more details must be given (f.e. storage location, batch,...).

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 relevant information for the stock change.

WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)
ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
ShelfLifeExpirationDatestring(date-time)
Example: "TODO"
BatchNumberstring
Example: "20240315A"
Quantitynumber(decimal)required

The quantity that should be added to this storage location.

Example: 500
PurchasePriceNetnumber(decimal)
Example: 45.67
SerialNumbersArray of strings
Example: ""
Commentstring
Example: "Comment for this stock change"
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/stocks?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 '{
    "WarehouseId": 0,
    "StorageLocationId": 0,
    "ItemId": 0,
    "ShelfLifeExpirationDate": "TODO",
    "BatchNumber": "20240315A",
    "Quantity": 500,
    "PurchasePriceNet": 45.67,
    "SerialNumbers": "",
    "Comment": "Comment for this stock change"
  }'

Responses

The created stock.

Bodyapplication/json
WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
StorageLocationNamestringrequired

Name of the storage location.

Example: "R15-F12-08"
ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
ShelfLifeExpirationDatestring(date-time)required

Shelf life expiration date of the item, if applicable.

Example: "TODO"
BatchNumberstringrequired

Batch number of the item if, the item is a batch item.

Example: "20240315A"
QuantityTotalnumber(decimal)required

Total quantity of this item at this storage location.

Example: 32
QuantityLockedForShipmentnumber(decimal)required

Quantity at this storage location that is locked for shipment, f.e. because the storage location or warehouse is locked for shipment.

Example: 1
QuantityLockedForAvailabilitynumber(decimal)required

Quantity at this storage location that is locked for availability, f.e. because the storage location or warehouse is locked for availability.

Example: 0
QuantityInPickingListsnumber(decimal)required

Quantity at this storage location that is on picking lists.

Example: 3
Response
application/json
{ "WarehouseId": 0, "StorageLocationId": 0, "StorageLocationName": "R15-F12-08", "ItemId": 0, "ShelfLifeExpirationDate": "TODO", "BatchNumber": "20240315A", "QuantityTotal": 32, "QuantityLockedForShipment": 1, "QuantityLockedForAvailability": 0, "QuantityInPickingLists": 3 }

Query Stock Changes

Request

Returns all stock changes for a specific item from a given start date

Security
Wawi
Query
kArtikelinteger(int32)
startDatestring(date-time)

The start date from which all stock Adjustments until now are returned.

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/stocks/changes?kArtikel=0&startDate=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

The requested stock changes.

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.Stock.StockChange)required

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

Items[].​ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
Items[].​WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
Items[].​StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
Items[].​Quantitynumber(decimal)required

The quantity that was changed.

Example: 100
Items[].​ChangedDatestring(date-time)required

The date when the stock change took place.

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

Shelf life expiration date of the item if the item has one.

Example: "2023-01-15T13:00:00.0000000+00:00"
Items[].​BatchNumberstringrequired

Batch number of the item if the item is a batch item.

Example: "20240315A"
Items[].​Commentstringrequired

Comment for this stock change.

Example: "Comment for this stock change"
Items[].​Usernamestringrequired

Name of the user who made this stock change.

Example: "user1"
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 }

Query Serial Number Per Warehouse

Request

Query the serial numbers for a specific item and warehouse

Security
Wawi
Query
kArtikelinteger(int32)
kWarenlagerinteger(int32)
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/stocks/serialnumbers?kArtikel=0&kWarenlager=0&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

The requested serial numbers for the item and warehouse.

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.Stock.SerialNumber)required

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

Items[].​WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
Items[].​StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
Items[].​ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
Items[].​SerialNumbersArray of stringsrequired

Serial numbers of the item.

Example: ""
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 }

Query Stocks Per ItemDeprecated

Request

DEPRECATED: Use Versioning with Header Query stocks for a specific item, warehouse or storage location

Security
Wawi
Query
kArtikelinteger(int32)
kWarenlagerinteger(int32)
kWarenLagerPlatzinteger(int32)
pageNumberinteger(int32)

Number of the page of items to fetch.

pageSizeinteger(int32)

Size of the page that is specified by pageNumber.

Headers
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/v1/stocks?kArtikel=0&kWarenlager=0&kWarenLagerPlatz=0&pageNumber=0&pageSize=0' \
  -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

The requested stock information.

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.Stock.Stock)required

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

Items[].​WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
Items[].​StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
Items[].​StorageLocationNamestringrequired

Name of the storage location.

Example: "R15-F12-08"
Items[].​ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
Items[].​ShelfLifeExpirationDatestring(date-time)required

Shelf life expiration date of the item, if applicable.

Example: "TODO"
Items[].​BatchNumberstringrequired

Batch number of the item if, the item is a batch item.

Example: "20240315A"
Items[].​QuantityTotalnumber(decimal)required

Total quantity of this item at this storage location.

Example: 32
Items[].​QuantityLockedForShipmentnumber(decimal)required

Quantity at this storage location that is locked for shipment, f.e. because the storage location or warehouse is locked for shipment.

Example: 1
Items[].​QuantityLockedForAvailabilitynumber(decimal)required

Quantity at this storage location that is locked for availability, f.e. because the storage location or warehouse is locked for availability.

Example: 0
Items[].​QuantityInPickingListsnumber(decimal)required

Quantity at this storage location that is on picking lists.

Example: 3
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 }

Stock AdjustmentDeprecated

Request

DEPRECATED: Use Versioning with Header Adjust the stock of a specific item. Depending from the item and warehouse many more details must be given (f.e. storage location, batch,...).

Security
Wawi
Query
disableAutomaticWorkflowsboolean

If true, the workflows do not trigger automatic.

Headers
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 relevant information for the stock change.

WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)
ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
ShelfLifeExpirationDatestring(date-time)
Example: "TODO"
BatchNumberstring
Example: "20240315A"
Quantitynumber(decimal)required

The quantity that should be added to this storage location.

Example: 500
PurchasePriceNetnumber(decimal)
Example: 45.67
SerialNumbersArray of strings
Example: ""
Commentstring
Example: "Comment for this stock change"
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/openapi/v1/stocks?disableAutomaticWorkflows=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 '{
    "WarehouseId": 0,
    "StorageLocationId": 0,
    "ItemId": 0,
    "ShelfLifeExpirationDate": "TODO",
    "BatchNumber": "20240315A",
    "Quantity": 500,
    "PurchasePriceNet": 45.67,
    "SerialNumbers": "",
    "Comment": "Comment for this stock change"
  }'

Responses

The created stock.

Bodyapplication/json
WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
StorageLocationNamestringrequired

Name of the storage location.

Example: "R15-F12-08"
ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
ShelfLifeExpirationDatestring(date-time)required

Shelf life expiration date of the item, if applicable.

Example: "TODO"
BatchNumberstringrequired

Batch number of the item if, the item is a batch item.

Example: "20240315A"
QuantityTotalnumber(decimal)required

Total quantity of this item at this storage location.

Example: 32
QuantityLockedForShipmentnumber(decimal)required

Quantity at this storage location that is locked for shipment, f.e. because the storage location or warehouse is locked for shipment.

Example: 1
QuantityLockedForAvailabilitynumber(decimal)required

Quantity at this storage location that is locked for availability, f.e. because the storage location or warehouse is locked for availability.

Example: 0
QuantityInPickingListsnumber(decimal)required

Quantity at this storage location that is on picking lists.

Example: 3
Response
application/json
{ "WarehouseId": 0, "StorageLocationId": 0, "StorageLocationName": "R15-F12-08", "ItemId": 0, "ShelfLifeExpirationDate": "TODO", "BatchNumber": "20240315A", "QuantityTotal": 32, "QuantityLockedForShipment": 1, "QuantityLockedForAvailability": 0, "QuantityInPickingLists": 3 }

Query Stock ChangesDeprecated

Request

DEPRECATED: Use Versioning with Header Returns all stock changes for a specific item from a given start date

Security
Wawi
Query
kArtikelinteger(int32)
startDatestring(date-time)

The start date from which all stock Adjustments until now are returned.

pageNumberinteger(int32)

Number of the page of items to fetch.

pageSizeinteger(int32)

Size of the page that is specified by pageNumber.

Headers
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/v1/stocks/changes?kArtikel=0&startDate=2019-08-24T14%3A15%3A22Z&pageNumber=0&pageSize=0' \
  -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

The requested stock changes.

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.Stock.StockChange)required

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

Items[].​ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
Items[].​WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
Items[].​StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
Items[].​Quantitynumber(decimal)required

The quantity that was changed.

Example: 100
Items[].​ChangedDatestring(date-time)required

The date when the stock change took place.

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

Shelf life expiration date of the item if the item has one.

Example: "2023-01-15T13:00:00.0000000+00:00"
Items[].​BatchNumberstringrequired

Batch number of the item if the item is a batch item.

Example: "20240315A"
Items[].​Commentstringrequired

Comment for this stock change.

Example: "Comment for this stock change"
Items[].​Usernamestringrequired

Name of the user who made this stock change.

Example: "user1"
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 }

Query Serial Number Per WarehouseDeprecated

Request

DEPRECATED: Use Versioning with Header Query the serial numbers for a specific item and warehouse

Security
Wawi
Query
kArtikelinteger(int32)
kWarenlagerinteger(int32)
pageNumberinteger(int32)

Number of the page of items to fetch.

pageSizeinteger(int32)

Size of the page that is specified by pageNumber.

Headers
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/v1/stocks/serialnumbers?kArtikel=0&kWarenlager=0&pageNumber=0&pageSize=0' \
  -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

The requested serial numbers for the item and warehouse.

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.Stock.SerialNumber)required

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

Items[].​WarehouseIdinteger(int32)(JTL.Data.Contracts.Keys.WarenlagerKey)required
Items[].​StorageLocationIdinteger(int32)(JTL.Data.Contracts.Keys.WarenLagerPlatzKey)required
Items[].​ItemIdinteger(int32)(JTL.Data.Contracts.Keys.ArtikelKey)required
Items[].​SerialNumbersArray of stringsrequired

Serial numbers of the item.

Example: ""
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 }

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

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