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

Get Item

Request

Get a specific item

Path
itemIdinteger(int32)required

The id of the Item 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/items/{itemId}' \
  -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 Item for the given id.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify an item.

Example: 1
SKUstringrequired

Item SKU. If no SKU is given when posting an item, the SKU will be generated automatically.

Example: "ART2394871"
ManufacturerIdinteger(int32)required

The manufacturer ID.

Example: 1
ResponsiblePersonIdinteger(int32)required

The Responsible person ID.

Example: 1
IsActivebooleanrequired

Indicates if the item is active.

Example: true
CategoriesArray of objects(CategoryReference)required

List of all the categories for the item.

Example: ""
Categories[].​CategoryIdinteger(int32)required

Unique ID to identify a category.

Example: 33
Categories[].​Namestringrequired

Name in the default language of the category.

Example: "House and Garden"
Namestringrequired

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

Example: "Interdimensional goggles"
Descriptionstringrequired

Full textdescription for the item

Example: "These goggles are a must have product. Everyone needs them. Buy them."
ShortDescriptionstringrequired

Short description of the item in the default language in JTL-Wawi.

Example: "The best goggles anyone can buy"
Identifiersobject(ItemIdentifiers)required
Identifiers.​Gtinstringrequired

GTIN

Example: "8896982295860"
Identifiers.​ManufacturerNumberstringrequired

Manufacturer number.

Example: "75"
Identifiers.​ISBNstringrequired

ISBN

Example: "978-3-86680-192-9"
Identifiers.​UPCstringrequired

UPC

Example: "889698229586"
Identifiers.​AmazonFnskustringrequired

An item's Amazon FNSKU.

Example: "FN813S88A43"
Identifiers.​AsinsArray of stringsrequired

A list of the item's ASINs.

Example: "B071GVGFQF"
Identifiers.​OwnIdentifierstringrequired

A custom identifier for the item.

Example: "P446853"
ComponentsArray of objects(ItemComponent)required

Components for the item if the item is a bill of material.

Example: ""
Components[].​ItemIdinteger(int32)required

Item ID of the item's component.

Example: 12345
Components[].​Quantitynumber(decimal)required

Quantity of the component in the bill of material.

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

Defines the order of the components when shown in lists and sales channels.

Example: 1
ChildItemsArray of integers(int32)required

IDs of the child items, if the item is a parent item.

Example: ""
ParentItemIdinteger(int32)required

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

Example: 2
ItemPriceDataobject(ItemPrice)required
ItemPriceData.​SalesPriceNetnumber(decimal)required

The net sales price of the item.

Example: 125.21
ItemPriceData.​SuggestedRetailPricenumber(decimal)required

The suggested retail price for the item.

Example: 159.99
ItemPriceData.​PurchasePriceNetnumber(decimal)required

The purchase price of the item.

Example: 99.73
ItemPriceData.​EbayPricenumber(decimal)required

Default price in new listing templates.

Example: 149.99
ItemPriceData.​AmazonPricenumber(decimal)required

Brutto price for new Amazon listings.

Example: 149.99
ActiveSalesChannelsstringrequired

The list of active sales channels of the item. Only online shops and JTL-POS are permitted. Sales channels that are removed from this list will be deactivated for this item.

Example: ""
SortNumberinteger(int32)required

The sort number of the item, used in some sales channels for ordering items.

Example: 0
Annotationstringrequired

The item annotation.

Example: "Some additional internal info about the item"
Addedstring(date-time)required

Date when the item was added to the system.

Example: "2023-01-15T13:00:00.0000000+00:00"
Changedstring(date-time)required

Date of the last change made to the item. Only item data changes are relevant for this field, not changes in stock.

Example: "2023-01-15T13:00:00.0000000+00:00"
ReleasedOnDatestring(date-time)required

The date when the item was put up for sale.

Example: "2023-01-15T13:00:00.0000000+00:00"
StorageOptionsobject(ItemStorageOption)required
StorageOptions.​InventoryManagementActivebooleanrequired

Indicates if inventory management for the item is active, meaning that the item displays stock quantities.

Example: true
StorageOptions.​SplitQuantitybooleanrequired

Indicates if the item can be split into quantities less than 1.

Example: false
StorageOptions.​GlobalMinimumStockLevelnumber(decimal)required

Defines the minimum quantity that should always be in stock. For example, when calculating purchasing orders.

Example: 15
StorageOptions.​Bufferinteger(int32)required

The buffer of the item. Used when selling time-delayed across different sales channels, so as not to sell more than is in stock.

Example: 5
StorageOptions.​SerialNumberItembooleanrequired

Indicates the item's serial number when shipping the sales orders.

Example: false
StorageOptions.​SerialNumberTrackingbooleanrequired

Indicates if serial numbers are to be identified during a goods receipt process from a supplier.

Example: false
StorageOptions.​SubjectToShelfLifeExpirationDatebooleanrequired

Indicates if the item has an expiration date, also known as a best before date.

Example: false
StorageOptions.​SubjectToBatchItembooleanrequired

Indicates whether the item is a batch item or not.

Example: false
StorageOptions.​ProcurementTimeinteger(int32)required

The procurement time indicates how many days it will take for the goods to be ready for shipment if they are currently out of stock. Procurement time is determined automatically on the basis of the supplier’s delivery time. By default, the delivery time of the default supplier is used as the procurement time. If additional processing time (in days) has been specified, this is added to the procurement time.

Example: 3
StorageOptions.​DetermineProcurementTimeAutomaticallybooleanrequired

If this option is set, the procurement time will be calculated from the default supplier's shipment time.

Example: false
StorageOptions.​AdditionalHandlingTimeinteger(int32)required

Indicates the additional processing time in days required to process. It is always added to the delivery time.

Example: 3
CountryOfOriginstringrequired

The country of origin of the item.

Example: "DE"
ConditionIdinteger(int32)required

Condition ID of the item. Default if nothing is specified.

Example: 1
ShippingClassIdinteger(int32)required

The shipping class ID.

Example: 4
ProductGroupIdinteger(int32)required

The ID of the item group.

Example: 2
TaxClassIdinteger(int32)required

The ID of the tax class.

Example: 3
Dimensionsobject(Dimensions)required
Dimensions.​Lengthnumber(decimal)required

Length

Example: 10.5
Dimensions.​Widthnumber(decimal)required

Width

Example: 5.8
Dimensions.​Heightnumber(decimal)required

Height

Example: 3
Weightsobject(ItemWeights)required
Weights.​ItemWeigthnumber(decimal)required

The weight of the item in kilograms.

Example: 5
Weights.​ShippingWeightnumber(decimal)required

The shipping weight of the item in kilograms.

Example: 5.5
AllowNegativeStockbooleanrequired

This option allows you to sell a higher quantity of the item than is actually in stock.

Example: false
Quantitiesobject(ItemQuantities)required
Quantities.​MinimumOrderQuantitynumber(decimal)required

The minimum order quantity of the item.

Example: 0
Quantities.​MinimumPurchaseQuantityForCustomerGroupArray of objects(ItemMinimumPurchaseQuantityForCustomerGroup)required

A collection of minimum order quantities for different customer groups.

Example: ""
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​CustomerGroupIdinteger(int32)required

Unique ID to identify a customer group.

Example: 3
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​PermissibleOrderQuantitynumber(decimal)required

The permissible order quantity for the item. Indicates the increments in which the item is sold.

Example: 149.99
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​MinimumPurchaseQuantitynumber(decimal)required

The minimum purchase quantity for a customer group.

Example: 1
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​IsActivebooleanrequired

Indicates if this setting is active or deactivated.

Example: true
Quantities.​PermissibleOrderQuantitynumber(decimal)required

The permissible order quantity for the item. Indicates the increments in which the item is sold.

Example: 0
DangerousGoodsobject(ItemDangerousGoods)required
DangerousGoods.​UnNumberstringrequired

The UN number for the item.

Example: "0070"
DangerousGoods.​HazardNostringrequired

The hazard number for the item.

Example: "Class1 explosives"
Taricstringrequired

Taric code of the item.

Example: "61071100"
SearchTermsstringrequired

Search terms for the item.

Example: "goggles, magnification, lenses"
PriceListActivebooleanrequired

Indicates if the item is in the price list.

Example: false
IgnoreDiscountsbooleanrequired

Indicates if discounts are to be disregarded.

Example: false
AvailabilityIdinteger(int32)required

Availability ID of the item.

Example: 2
Response
application/json
{ "Id": 1, "SKU": "ART2394871", "ManufacturerId": 1, "ResponsiblePersonId": 1, "IsActive": true, "Categories": "", "Name": "Interdimensional goggles", "Description": "These goggles are a must have product. Everyone needs them. Buy them.", "ShortDescription": "The best goggles anyone can buy", "Identifiers": { "Gtin": "8896982295860", "ManufacturerNumber": "75", "ISBN": "978-3-86680-192-9", "UPC": "889698229586", "AmazonFnsku": "FN813S88A43", "Asins": "B071GVGFQF", "OwnIdentifier": "P446853" }, "Components": "", "ChildItems": "", "ParentItemId": 2, "ItemPriceData": { "SalesPriceNet": 125.21, "SuggestedRetailPrice": 159.99, "PurchasePriceNet": 99.73, "EbayPrice": 149.99, "AmazonPrice": 149.99 }, "ActiveSalesChannels": "", "SortNumber": 0, "Annotation": "Some additional internal info about the item", "Added": "2023-01-15T13:00:00.0000000+00:00", "Changed": "2023-01-15T13:00:00.0000000+00:00", "ReleasedOnDate": "2023-01-15T13:00:00.0000000+00:00", "StorageOptions": { "InventoryManagementActive": true, "SplitQuantity": false, "GlobalMinimumStockLevel": 15, "Buffer": 5, "SerialNumberItem": false, "SerialNumberTracking": false, "SubjectToShelfLifeExpirationDate": false, "SubjectToBatchItem": false, "ProcurementTime": 3, "DetermineProcurementTimeAutomatically": false, "AdditionalHandlingTime": 3 }, "CountryOfOrigin": "DE", "ConditionId": 1, "ShippingClassId": 4, "ProductGroupId": 2, "TaxClassId": 3, "Dimensions": { "Length": 10.5, "Width": 5.8, "Height": 3 }, "Weights": { "ItemWeigth": 5, "ShippingWeight": 5.5 }, "AllowNegativeStock": false, "Quantities": { "MinimumOrderQuantity": 0, "MinimumPurchaseQuantityForCustomerGroup": "", "PermissibleOrderQuantity": 0 }, "DangerousGoods": { "UnNumber": "0070", "HazardNo": "Class1 explosives" }, "Taric": "61071100", "SearchTerms": "goggles, magnification, lenses", "PriceListActive": false, "IgnoreDiscounts": false, "AvailabilityId": 2 }

Update Item

Request

Update a specific item

Path
itemIdinteger(int32)required

The id of the Item to update.

Query
disableAutomaticWorkflowsboolean

If true, the workflows do not trigger automatic.

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 to update.

SKUstring

Item SKU. If no SKU is given when posting an item, the SKU will be generated automatically.

Example: "ART2394871"
ManufacturerIdinteger(int32)

The manufacturer ID.

Example: 1
ResponsiblePersonIdinteger(int32)

The Responsible person ID.

Example: 1
CategoriesArray of objects(UpdateCategoryReference)

List of all the categories for the item.

Example: ""
Namestring

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

Example: "Interdimensional goggles"
Descriptionstring

Full textdescription for the item

Example: "These goggles are a must have product. Everyone needs them. Buy them."
ShortDescriptionstring

Short description of the item in the default language in JTL-Wawi.

Example: "The best goggles anyone can buy"
Identifiersobject(UpdateItemIdentifiers)
ComponentsArray of objects(UpdateItemComponent)

Components for the item if the item is a bill of material.

Example: ""
ItemPriceDataobject(UpdateItemPrice)
ActiveSalesChannelsstring

The list of active sales channels of the item. Only online shops and JTL-POS are permitted. Sales channels that are removed from this list will be deactivated for this item.

Example: ""
SortNumberinteger(int32)

The sort number of the item, used in some sales channels for ordering items.

Example: 0
Annotationstring

The item annotation.

Example: "Some additional internal info about the item"
ReleasedOnDatestring(date-time)

The date when the item was put up for sale.

Example: "2023-01-15T13:00:00.0000000+00:00"
StorageOptionsobject(UpdateItemStorageOption)
CountryOfOriginstring

The country of origin of the item.

Example: "DE"
ShippingClassIdinteger(int32)

The shipping class ID.

Example: 4
ProductGroupIdinteger(int32)

The ID of the item group.

Example: 2
TaxClassIdinteger(int32)

The ID of the tax class.

Example: 3
Dimensionsobject(UpdateDimensions)
Weightsobject(UpdateItemWeights)
AllowNegativeStockboolean

This option allows you to sell a higher quantity of the item than is actually in stock.

Example: false
Quantitiesobject(UpdateItemQuantities)
DangerousGoodsobject(UpdateItemDangerousGoods)
Taricstring

Taric code of the item.

Example: "61071100"
SearchTermsstring

Search terms for the item.

Example: "goggles, magnification, lenses"
PriceListActiveboolean

Indicates if the item is in the price list.

Example: false
IgnoreDiscountsboolean

Indicates if discounts are to be disregarded.

Example: false
AvailabilityIdinteger(int32)

Availability ID of the item.

Example: 2
curl -i -X PATCH \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/items/{itemId}?disableAutomaticWorkflows=true' \
  -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 '{
    "SKU": "ART2394871",
    "ManufacturerId": 1,
    "ResponsiblePersonId": 1,
    "Categories": "",
    "Name": "Interdimensional goggles",
    "Description": "These goggles are a must have product. Everyone needs them. Buy them.",
    "ShortDescription": "The best goggles anyone can buy",
    "Identifiers": {
      "Gtin": "8896982295860",
      "ManufacturerNumber": "75",
      "ISBN": "978-3-86680-192-9",
      "UPC": "889698229586",
      "AmazonFnsku": "FN813S88A43",
      "Asins": "B071GVGFQF",
      "OwnIdentifier": "P446853"
    },
    "Components": "",
    "ItemPriceData": {
      "SalesPriceNet": 125.21,
      "SuggestedRetailPrice": 159.99,
      "PurchasePriceNet": 99.73,
      "EbayPrice": 149.99,
      "AmazonPrice": 149.99
    },
    "ActiveSalesChannels": "",
    "SortNumber": 0,
    "Annotation": "Some additional internal info about the item",
    "ReleasedOnDate": "2023-01-15T13:00:00.0000000+00:00",
    "StorageOptions": {
      "GlobalMinimumStockLevel": 15,
      "Buffer": 5,
      "SerialNumberTracking": false,
      "ProcurementTime": 3,
      "DetermineProcurementTimeAutomatically": false,
      "AdditionalHandlingTime": 3
    },
    "CountryOfOrigin": "DE",
    "ShippingClassId": 4,
    "ProductGroupId": 2,
    "TaxClassId": 3,
    "Dimensions": {
      "Length": 10.5,
      "Width": 5.8,
      "Height": 3
    },
    "Weights": {
      "ItemWeigth": 5,
      "ShippingWeight": 5.5
    },
    "AllowNegativeStock": false,
    "Quantities": {
      "MinimumOrderQuantity": 0,
      "MinimumPurchaseQuantityForCustomerGroup": "",
      "PermissibleOrderQuantity": 0
    },
    "DangerousGoods": {
      "UnNumber": "0070",
      "HazardNo": "Class1 explosives"
    },
    "Taric": "61071100",
    "SearchTerms": "goggles, magnification, lenses",
    "PriceListActive": false,
    "IgnoreDiscounts": false,
    "AvailabilityId": 2
  }'

Responses

The updated item.

Bodyapplication/json
Idinteger(int32)required

Unique ID to identify an item.

Example: 1
SKUstringrequired

Item SKU. If no SKU is given when posting an item, the SKU will be generated automatically.

Example: "ART2394871"
ManufacturerIdinteger(int32)required

The manufacturer ID.

Example: 1
ResponsiblePersonIdinteger(int32)required

The Responsible person ID.

Example: 1
IsActivebooleanrequired

Indicates if the item is active.

Example: true
CategoriesArray of objects(CategoryReference)required

List of all the categories for the item.

Example: ""
Categories[].​CategoryIdinteger(int32)required

Unique ID to identify a category.

Example: 33
Categories[].​Namestringrequired

Name in the default language of the category.

Example: "House and Garden"
Namestringrequired

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

Example: "Interdimensional goggles"
Descriptionstringrequired

Full textdescription for the item

Example: "These goggles are a must have product. Everyone needs them. Buy them."
ShortDescriptionstringrequired

Short description of the item in the default language in JTL-Wawi.

Example: "The best goggles anyone can buy"
Identifiersobject(ItemIdentifiers)required
Identifiers.​Gtinstringrequired

GTIN

Example: "8896982295860"
Identifiers.​ManufacturerNumberstringrequired

Manufacturer number.

Example: "75"
Identifiers.​ISBNstringrequired

ISBN

Example: "978-3-86680-192-9"
Identifiers.​UPCstringrequired

UPC

Example: "889698229586"
Identifiers.​AmazonFnskustringrequired

An item's Amazon FNSKU.

Example: "FN813S88A43"
Identifiers.​AsinsArray of stringsrequired

A list of the item's ASINs.

Example: "B071GVGFQF"
Identifiers.​OwnIdentifierstringrequired

A custom identifier for the item.

Example: "P446853"
ComponentsArray of objects(ItemComponent)required

Components for the item if the item is a bill of material.

Example: ""
Components[].​ItemIdinteger(int32)required

Item ID of the item's component.

Example: 12345
Components[].​Quantitynumber(decimal)required

Quantity of the component in the bill of material.

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

Defines the order of the components when shown in lists and sales channels.

Example: 1
ChildItemsArray of integers(int32)required

IDs of the child items, if the item is a parent item.

Example: ""
ParentItemIdinteger(int32)required

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

Example: 2
ItemPriceDataobject(ItemPrice)required
ItemPriceData.​SalesPriceNetnumber(decimal)required

The net sales price of the item.

Example: 125.21
ItemPriceData.​SuggestedRetailPricenumber(decimal)required

The suggested retail price for the item.

Example: 159.99
ItemPriceData.​PurchasePriceNetnumber(decimal)required

The purchase price of the item.

Example: 99.73
ItemPriceData.​EbayPricenumber(decimal)required

Default price in new listing templates.

Example: 149.99
ItemPriceData.​AmazonPricenumber(decimal)required

Brutto price for new Amazon listings.

Example: 149.99
ActiveSalesChannelsstringrequired

The list of active sales channels of the item. Only online shops and JTL-POS are permitted. Sales channels that are removed from this list will be deactivated for this item.

Example: ""
SortNumberinteger(int32)required

The sort number of the item, used in some sales channels for ordering items.

Example: 0
Annotationstringrequired

The item annotation.

Example: "Some additional internal info about the item"
Addedstring(date-time)required

Date when the item was added to the system.

Example: "2023-01-15T13:00:00.0000000+00:00"
Changedstring(date-time)required

Date of the last change made to the item. Only item data changes are relevant for this field, not changes in stock.

Example: "2023-01-15T13:00:00.0000000+00:00"
ReleasedOnDatestring(date-time)required

The date when the item was put up for sale.

Example: "2023-01-15T13:00:00.0000000+00:00"
StorageOptionsobject(ItemStorageOption)required
StorageOptions.​InventoryManagementActivebooleanrequired

Indicates if inventory management for the item is active, meaning that the item displays stock quantities.

Example: true
StorageOptions.​SplitQuantitybooleanrequired

Indicates if the item can be split into quantities less than 1.

Example: false
StorageOptions.​GlobalMinimumStockLevelnumber(decimal)required

Defines the minimum quantity that should always be in stock. For example, when calculating purchasing orders.

Example: 15
StorageOptions.​Bufferinteger(int32)required

The buffer of the item. Used when selling time-delayed across different sales channels, so as not to sell more than is in stock.

Example: 5
StorageOptions.​SerialNumberItembooleanrequired

Indicates the item's serial number when shipping the sales orders.

Example: false
StorageOptions.​SerialNumberTrackingbooleanrequired

Indicates if serial numbers are to be identified during a goods receipt process from a supplier.

Example: false
StorageOptions.​SubjectToShelfLifeExpirationDatebooleanrequired

Indicates if the item has an expiration date, also known as a best before date.

Example: false
StorageOptions.​SubjectToBatchItembooleanrequired

Indicates whether the item is a batch item or not.

Example: false
StorageOptions.​ProcurementTimeinteger(int32)required

The procurement time indicates how many days it will take for the goods to be ready for shipment if they are currently out of stock. Procurement time is determined automatically on the basis of the supplier’s delivery time. By default, the delivery time of the default supplier is used as the procurement time. If additional processing time (in days) has been specified, this is added to the procurement time.

Example: 3
StorageOptions.​DetermineProcurementTimeAutomaticallybooleanrequired

If this option is set, the procurement time will be calculated from the default supplier's shipment time.

Example: false
StorageOptions.​AdditionalHandlingTimeinteger(int32)required

Indicates the additional processing time in days required to process. It is always added to the delivery time.

Example: 3
CountryOfOriginstringrequired

The country of origin of the item.

Example: "DE"
ConditionIdinteger(int32)required

Condition ID of the item. Default if nothing is specified.

Example: 1
ShippingClassIdinteger(int32)required

The shipping class ID.

Example: 4
ProductGroupIdinteger(int32)required

The ID of the item group.

Example: 2
TaxClassIdinteger(int32)required

The ID of the tax class.

Example: 3
Dimensionsobject(Dimensions)required
Dimensions.​Lengthnumber(decimal)required

Length

Example: 10.5
Dimensions.​Widthnumber(decimal)required

Width

Example: 5.8
Dimensions.​Heightnumber(decimal)required

Height

Example: 3
Weightsobject(ItemWeights)required
Weights.​ItemWeigthnumber(decimal)required

The weight of the item in kilograms.

Example: 5
Weights.​ShippingWeightnumber(decimal)required

The shipping weight of the item in kilograms.

Example: 5.5
AllowNegativeStockbooleanrequired

This option allows you to sell a higher quantity of the item than is actually in stock.

Example: false
Quantitiesobject(ItemQuantities)required
Quantities.​MinimumOrderQuantitynumber(decimal)required

The minimum order quantity of the item.

Example: 0
Quantities.​MinimumPurchaseQuantityForCustomerGroupArray of objects(ItemMinimumPurchaseQuantityForCustomerGroup)required

A collection of minimum order quantities for different customer groups.

Example: ""
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​CustomerGroupIdinteger(int32)required

Unique ID to identify a customer group.

Example: 3
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​PermissibleOrderQuantitynumber(decimal)required

The permissible order quantity for the item. Indicates the increments in which the item is sold.

Example: 149.99
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​MinimumPurchaseQuantitynumber(decimal)required

The minimum purchase quantity for a customer group.

Example: 1
Quantities.​MinimumPurchaseQuantityForCustomerGroup[].​IsActivebooleanrequired

Indicates if this setting is active or deactivated.

Example: true
Quantities.​PermissibleOrderQuantitynumber(decimal)required

The permissible order quantity for the item. Indicates the increments in which the item is sold.

Example: 0
DangerousGoodsobject(ItemDangerousGoods)required
DangerousGoods.​UnNumberstringrequired

The UN number for the item.

Example: "0070"
DangerousGoods.​HazardNostringrequired

The hazard number for the item.

Example: "Class1 explosives"
Taricstringrequired

Taric code of the item.

Example: "61071100"
SearchTermsstringrequired

Search terms for the item.

Example: "goggles, magnification, lenses"
PriceListActivebooleanrequired

Indicates if the item is in the price list.

Example: false
IgnoreDiscountsbooleanrequired

Indicates if discounts are to be disregarded.

Example: false
AvailabilityIdinteger(int32)required

Availability ID of the item.

Example: 2
Response
application/json
{ "Id": 1, "SKU": "ART2394871", "ManufacturerId": 1, "ResponsiblePersonId": 1, "IsActive": true, "Categories": "", "Name": "Interdimensional goggles", "Description": "These goggles are a must have product. Everyone needs them. Buy them.", "ShortDescription": "The best goggles anyone can buy", "Identifiers": { "Gtin": "8896982295860", "ManufacturerNumber": "75", "ISBN": "978-3-86680-192-9", "UPC": "889698229586", "AmazonFnsku": "FN813S88A43", "Asins": "B071GVGFQF", "OwnIdentifier": "P446853" }, "Components": "", "ChildItems": "", "ParentItemId": 2, "ItemPriceData": { "SalesPriceNet": 125.21, "SuggestedRetailPrice": 159.99, "PurchasePriceNet": 99.73, "EbayPrice": 149.99, "AmazonPrice": 149.99 }, "ActiveSalesChannels": "", "SortNumber": 0, "Annotation": "Some additional internal info about the item", "Added": "2023-01-15T13:00:00.0000000+00:00", "Changed": "2023-01-15T13:00:00.0000000+00:00", "ReleasedOnDate": "2023-01-15T13:00:00.0000000+00:00", "StorageOptions": { "InventoryManagementActive": true, "SplitQuantity": false, "GlobalMinimumStockLevel": 15, "Buffer": 5, "SerialNumberItem": false, "SerialNumberTracking": false, "SubjectToShelfLifeExpirationDate": false, "SubjectToBatchItem": false, "ProcurementTime": 3, "DetermineProcurementTimeAutomatically": false, "AdditionalHandlingTime": 3 }, "CountryOfOrigin": "DE", "ConditionId": 1, "ShippingClassId": 4, "ProductGroupId": 2, "TaxClassId": 3, "Dimensions": { "Length": 10.5, "Width": 5.8, "Height": 3 }, "Weights": { "ItemWeigth": 5, "ShippingWeight": 5.5 }, "AllowNegativeStock": false, "Quantities": { "MinimumOrderQuantity": 0, "MinimumPurchaseQuantityForCustomerGroup": "", "PermissibleOrderQuantity": 0 }, "DangerousGoods": { "UnNumber": "0070", "HazardNo": "Class1 explosives" }, "Taric": "61071100", "SearchTerms": "goggles, magnification, lenses", "PriceListActive": false, "IgnoreDiscounts": false, "AvailabilityId": 2 }

Assign Child Item To Parent

Request

Assign child items to a specific parent

Path
itemIdinteger(int32)required

The unique id of the item.

childItemIdinteger(int32)required

The unique id of the item that should be assigned as a variation child to the item.

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 unique IDs of the variation values from the parent that should be assigned to the child. This must be an exact match and no other child can have these exact variation values.

Array [
integer(int32)
]
curl -i -X POST \
  'https://developer.jtl-software.com/_mock/products/erpapi/1.0-cloud/openapi/items/{itemId}/children/{childItemId}' \
  -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

Bodyapplication/json
Response
application/json
null

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

deliverynote

Planned

Operations

appRegistration

Operations

wms

Operations

stock

Operations

accountingData

Planned

Operations

tax

Operations

offer

Operations

creditnote

Operations