JTL-WAWI API (Cloud) (1.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://developer.jtl-software.com/products/erp/swagger/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.

Download OpenAPI description
Languages
Servers
Mock server
https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/
https://api.jtl-cloud.com/erp/

info

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

Query Categories

Request

Query all categories

Query
pageNumberinteger(int32)

Number of the page of items to fetch.

pageSizeinteger(int32)

Size of the page that is specified by pageNumber.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

curl -i -X GET \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories?pageNumber=0&pageSize=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string'

Responses

Returns all categories.

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(Category)required

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

Items[].​Idinteger(int32)required

Unique ID to identify a category.

Example: 13
Items[].​Namestringrequired

Name of the category in the default language of JTL-Wawi.

Example: "Binoculars"
Items[].​Descriptionstringrequired

Category description in the default language of JTL-Wawi.

Example: "Best Binoculars"
Items[].​ParentCategoryIdinteger(int32)required

ID of the parent category, if the category is a child category.

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

Returns the category level number within its category tree. A root category without a parent has a level 1.

Example: 2
Items[].​SortNumberinteger(int32)required

The category sort number used in some sales channels for arranging the categories.

Example: 1
Items[].​ActiveSalesChannelsstringrequired

The list of active sales channels for this category. The items must be activated individually. Only online shops and JTL-POS are allowed. Sales channels removed from this list will be deactivated for this category.

Example: "1-1-1"
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 Category

Request

Create a new category

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

Bodyapplication/jsonrequired

The category to create.

Namestringrequired

Name of the category in the default language of JTL-Wawi.

Example: "Binoculars"
Descriptionstring

Category description in the default language of JTL-Wawi.

Example: "Best Binoculars"
ParentCategoryIdinteger(int32)

ID of the parent category, if the category is a child category.

Example: 5
SortNumberinteger(int32)

The category sort number used in some sales channels for arranging the categories.

Example: 1
ActiveSalesChannelsstring

The list of active sales channels for this category. The items must be activated individually. Only online shops and JTL-POS are allowed. Sales channels removed from this list will be deactivated for this category.

Example: "1-1-1"
curl -i -X POST \
  https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "Name": "Binoculars",
    "Description": "Best Binoculars",
    "ParentCategoryId": 5,
    "SortNumber": 1,
    "ActiveSalesChannels": "1-1-1"
  }'

Responses

The created category.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify a category.

Example: 13
Namestringrequired

Name of the category in the default language of JTL-Wawi.

Example: "Binoculars"
Descriptionstringrequired

Category description in the default language of JTL-Wawi.

Example: "Best Binoculars"
ParentCategoryIdinteger(int32)required

ID of the parent category, if the category is a child category.

Example: 5
Levelinteger(int32)required

Returns the category level number within its category tree. A root category without a parent has a level 1.

Example: 2
SortNumberinteger(int32)required

The category sort number used in some sales channels for arranging the categories.

Example: 1
ActiveSalesChannelsstringrequired

The list of active sales channels for this category. The items must be activated individually. Only online shops and JTL-POS are allowed. Sales channels removed from this list will be deactivated for this category.

Example: "1-1-1"
Response
application/json
{ "Id": 13, "Name": "Binoculars", "Description": "Best Binoculars", "ParentCategoryId": 5, "Level": 2, "SortNumber": 1, "ActiveSalesChannels": "1-1-1" }

Get Category

Request

Get a specific category

Path
categoryIdinteger(int32)required

The id of the category to return.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

curl -i -X GET \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string'

Responses

Returns the category for the given id.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify a category.

Example: 13
Namestringrequired

Name of the category in the default language of JTL-Wawi.

Example: "Binoculars"
Descriptionstringrequired

Category description in the default language of JTL-Wawi.

Example: "Best Binoculars"
ParentCategoryIdinteger(int32)required

ID of the parent category, if the category is a child category.

Example: 5
Levelinteger(int32)required

Returns the category level number within its category tree. A root category without a parent has a level 1.

Example: 2
SortNumberinteger(int32)required

The category sort number used in some sales channels for arranging the categories.

Example: 1
ActiveSalesChannelsstringrequired

The list of active sales channels for this category. The items must be activated individually. Only online shops and JTL-POS are allowed. Sales channels removed from this list will be deactivated for this category.

Example: "1-1-1"
Response
application/json
{ "Id": 13, "Name": "Binoculars", "Description": "Best Binoculars", "ParentCategoryId": 5, "Level": 2, "SortNumber": 1, "ActiveSalesChannels": "1-1-1" }

Update Category

Request

Update a specific category

Path
categoryIdinteger(int32)required

The id of the category to update.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

Bodyapplication/jsonrequired

The category to update.

Namestring

Name of the category in the default language of JTL-Wawi.

Example: "Binoculars"
Descriptionstring

Category description in the default language of JTL-Wawi.

Example: "Best Binoculars"
ParentCategoryIdinteger(int32)

ID of the parent category, if the category is a child category.

Example: 5
SortNumberinteger(int32)

The category sort number used in some sales channels for arranging the categories.

Example: 1
ActiveSalesChannelsstring

The list of active sales channels for this category. The items must be activated individually. Only online shops and JTL-POS are allowed. Sales channels removed from this list will be deactivated for this category.

Example: "1-1-1"
curl -i -X PATCH \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "Name": "Binoculars",
    "Description": "Best Binoculars",
    "ParentCategoryId": 5,
    "SortNumber": 1,
    "ActiveSalesChannels": "1-1-1"
  }'

Responses

The updated category.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify a category.

Example: 13
Namestringrequired

Name of the category in the default language of JTL-Wawi.

Example: "Binoculars"
Descriptionstringrequired

Category description in the default language of JTL-Wawi.

Example: "Best Binoculars"
ParentCategoryIdinteger(int32)required

ID of the parent category, if the category is a child category.

Example: 5
Levelinteger(int32)required

Returns the category level number within its category tree. A root category without a parent has a level 1.

Example: 2
SortNumberinteger(int32)required

The category sort number used in some sales channels for arranging the categories.

Example: 1
ActiveSalesChannelsstringrequired

The list of active sales channels for this category. The items must be activated individually. Only online shops and JTL-POS are allowed. Sales channels removed from this list will be deactivated for this category.

Example: "1-1-1"
Response
application/json
{ "Id": 13, "Name": "Binoculars", "Description": "Best Binoculars", "ParentCategoryId": 5, "Level": 2, "SortNumber": 1, "ActiveSalesChannels": "1-1-1" }

Query Category Descriptions

Request

Query all descriptions for a specific category

Path
categoryIdinteger(int32)required

The id of the category that the descriptions belong to.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

curl -i -X GET \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}/descriptions' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string'

Responses

The requested category descriptions.

Bodyapplication/jsonArray [
CategoryIdinteger(int32)required

Unique ID to identify a category.

Example: 13
Namestringrequired

The category name in the given language and sales channel. The name in JTL-Wawi and the default language is the default name of the category.

Example: "Binoculars"
Descriptionstringrequired

The category description in the given language and sales channel.

Example: "Best Binoculars"
SeoPathstringrequired

The SEO path in the given language and sales channel.

Example: "binoculars"
SeoMetaDescriptionstringrequired

The SEO metadescription in the given language and sales channel.

Example: "Best Binoculars"
SeoTitleTagstringrequired

The title tag (SEO) in the given language and sales channel.

Example: "Best Binoculars"
SeoMetaKeywordsstringrequired

The meta keywords in the given language and sales channel.

Example: "Best, Binoculars"
LanguageIsostringrequired

The ISO code of the language of the description.

Example: "DE"
SalesChannelIdstringrequired

The sales channel ID of the description. Only specific sales channels are allowed for this operation and are specified in the sales channel endpoint(GET).

Example: "1-1-0"
]
Response
application/json
[ { "CategoryId": 13, "Name": "Binoculars", "Description": "Best Binoculars", "SeoPath": "binoculars", "SeoMetaDescription": "Best Binoculars", "SeoTitleTag": "Best Binoculars", "SeoMetaKeywords": "Best, Binoculars", "LanguageIso": "DE", "SalesChannelId": "1-1-0" } ]

Create Category Description

Request

Create a new description for a specific category

Path
categoryIdinteger(int32)required

The id of the category that the descriptions belong to.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

Bodyapplication/jsonrequired

The categoryDescription to create.

Namestringrequired

The category name in the given language and sales channel. The name in JTL-Wawi and the default language is the default name of the category.

Example: "Binoculars"
Descriptionstring

The category description in the given language and sales channel.

Example: "Best Binoculars"
SeoPathstring

The SEO path in the given language and sales channel.

Example: "binoculars"
SeoMetaDescriptionstring

The SEO metadescription in the given language and sales channel.

Example: "Best Binoculars"
SeoTitleTagstring

The title tag (SEO) in the given language and sales channel.

Example: "Best Binoculars"
SeoMetaKeywordsstring

The meta keywords in the given language and sales channel.

Example: "Best, Binoculars"
LanguageIsostringrequired

The ISO code of the language of the description.

Example: "DE"
SalesChannelIdstringrequired

The sales channel ID of the description. Only specific sales channels are allowed for this operation and are specified in the sales channel endpoint(GET).

Example: "1-1-0"
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}/descriptions' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "Name": "Binoculars",
    "Description": "Best Binoculars",
    "SeoPath": "binoculars",
    "SeoMetaDescription": "Best Binoculars",
    "SeoTitleTag": "Best Binoculars",
    "SeoMetaKeywords": "Best, Binoculars",
    "LanguageIso": "DE",
    "SalesChannelId": "1-1-0"
  }'

Responses

The created category description.

Bodyapplication/json
CategoryIdinteger(int32)required

Unique ID to identify a category.

Example: 13
Namestringrequired

The category name in the given language and sales channel. The name in JTL-Wawi and the default language is the default name of the category.

Example: "Binoculars"
Descriptionstringrequired

The category description in the given language and sales channel.

Example: "Best Binoculars"
SeoPathstringrequired

The SEO path in the given language and sales channel.

Example: "binoculars"
SeoMetaDescriptionstringrequired

The SEO metadescription in the given language and sales channel.

Example: "Best Binoculars"
SeoTitleTagstringrequired

The title tag (SEO) in the given language and sales channel.

Example: "Best Binoculars"
SeoMetaKeywordsstringrequired

The meta keywords in the given language and sales channel.

Example: "Best, Binoculars"
LanguageIsostringrequired

The ISO code of the language of the description.

Example: "DE"
SalesChannelIdstringrequired

The sales channel ID of the description. Only specific sales channels are allowed for this operation and are specified in the sales channel endpoint(GET).

Example: "1-1-0"
Response
application/json
{ "CategoryId": 13, "Name": "Binoculars", "Description": "Best Binoculars", "SeoPath": "binoculars", "SeoMetaDescription": "Best Binoculars", "SeoTitleTag": "Best Binoculars", "SeoMetaKeywords": "Best, Binoculars", "LanguageIso": "DE", "SalesChannelId": "1-1-0" }

Delete Category Description

Request

Delete a description for a specific category

Path
categoryIdinteger(int32)required

The id of the category that the descriptions belong to.

salesChannelIdstringrequired

The id of the sales channel that the descriptions belong to.

languageIsostringrequired

The iso code of the language that the descriptions belong to.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

curl -i -X DELETE \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}/descriptions/{salesChannelId}/{languageIso}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string'

Responses

Bodyapplication/json
Response
application/json
null

Update Category Description

Request

Update a description for a specific category

Path
categoryIdinteger(int32)required

The id of the category that the descriptions belong to.

salesChannelIdstringrequired

The id of the sales channel that the descriptions belong to.

languageIsostringrequired

The iso code of the language that the descriptions belong to.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

Bodyapplication/jsonrequired

The category to update.

Namestring

The category name in the given language and sales channel. The name in JTL-Wawi and the default language is the default name of the category.

Example: "Binoculars"
Descriptionstring

The category description in the given language and sales channel.

Example: "Best Binoculars"
SeoPathstring

The SEO path in the given language and sales channel.

Example: "binoculars"
SeoMetaDescriptionstring

The SEO metadescription in the given language and sales channel.

Example: "Best Binoculars"
SeoTitleTagstring

The title tag (SEO) in the given language and sales channel.

Example: "Best Binoculars"
SeoMetaKeywordsstring

The meta keywords in the given language and sales channel.

Example: "Best, Binoculars"
curl -i -X PATCH \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}/descriptions/{salesChannelId}/{languageIso}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '{
    "Name": "Binoculars",
    "Description": "Best Binoculars",
    "SeoPath": "binoculars",
    "SeoMetaDescription": "Best Binoculars",
    "SeoTitleTag": "Best Binoculars",
    "SeoMetaKeywords": "Best, Binoculars"
  }'

Responses

Bodyapplication/json
Response
application/json
null

Add Category Items

Request

Add items to a specific category

Path
categoryIdinteger(int32)required

The id of the category where the items should be assigned.

Headers
api-versionstring

The requested API version

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'

tenant-idstring(uuid)required

Specify the TenantId in GUID Format

x-api-keystring(uuid)required

Specify the ApiKey from RegistrationProcess in Uuid Format

Bodyapplication/jsonrequired

The item Ids to be assigned to the category.

Array [
integer(int32)
]
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/categories/{categoryId}/items' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-version: string' \
  -H 'tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-appid: string' \
  -H 'x-appversion: string' \
  -H 'x-runas: string' \
  -d '[
    0
  ]'

Responses

The assigned item ids.

Bodyapplication/jsonArray [
integer(int32)
]
Response
application/json
[ 0 ]

salesorder

Operations

deliverynote

Planned

Operations

appRegistration

Operations

wms

Operations

stock

Operations

accountingData

Planned

Operations

tax

Operations

offer

Operations

creditnote

Operations