### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return/returnheader_createreturnasync Retrieves a list of all installed printers available in the system. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint `/printers` ### Parameters None ### Request Example ```bash curl -i -X GET \ 'https://developer.jtl-software.com/_mock/products/erpapi/1.2-cloud/openapi/printers' ``` ### Response #### Success Response (200) A list of installed printers. #### Response Example ```json [ "Printer Name 1", "Printer Name 2" ] ``` ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/colorcodes/colorcodeheader_querycolorcodesasync Queries all available product availabilities. ```APIDOC ## GET /availabilities ### Description Queries all available product availability information. ### Method GET ### Endpoint `/availabilities` ### Parameters #### Query Parameters None ### Request Example ```json { "example": "No request body needed for GET request." } ``` ### Response #### Success Response (200) - **availabilities** (array) - A list of availability objects. - **itemId** (string) - Description - **warehouseId** (string) - Description - **quantityOnHand** (number) - Description - **quantityOnOrder** (number) - Description #### Response Example ```json { "availabilities": [ { "itemId": "ITEM001", "warehouseId": "WH1", "quantityOnHand": 100, "quantityOnOrder": 20 } ] } ``` ``` -------------------------------- ### Get All Installed Printers (JSON Response Example) Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/printer This snippet shows an example of the JSON response when successfully retrieving a list of installed printers. The response is an array of strings, where each string represents a printer. ```json [ "string" ] ``` -------------------------------- ### Get Extensions with Pagination - cURL Example Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/extensibility Example cURL command to fetch installed extensions with specified page number and size. It includes necessary headers for authentication and API versioning. ```curl curl -i -X GET \ 'https://developer.jtl-software.com/_mock/products/erpapi/1.2-cloud/openapi/extensions?pageNumber=0&pageSize=0' \ -H 'Authorization: Bearer ' \ -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'api-version: string' \ -H 'x-api-key: YOUR_API_KEY_HERE' \ -H 'x-appid: string' \ -H 'x-appversion: string' \ -H 'x-runas: string' ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return/returnheader_createreturnasync Query all available item availabilities. ```APIDOC ## GET /availabilities ### Description Retrieves a list of all item availabilities. ### Method GET ### Endpoint /availabilities ### Response #### Success Response (200) - **Availabilities** (array) - A list of availability objects. - **itemId** (string) - The ID of the item. - **quantity** (number) - The available quantity. - **warehouseId** (string) - The ID of the warehouse where the item is available. #### Response Example ```json { "Availabilities": [ { "itemId": "item-123", "quantity": 100, "warehouseId": "warehouse-main" } ] } ``` ``` -------------------------------- ### Get Installed Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer Retrieves a list of all installed printers. This is a simple GET request to the /printers endpoint. ```curl curl -X GET https://developer.jtl-software.com/_mock/products/erpapi/1.2-cloud/openapi/printers ``` -------------------------------- ### GET /wms/picklisttemplates Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer/offerheader_printofferasync Queries all available pick list templates. ```APIDOC ## GET /wms/picklisttemplates ### Description Queries and retrieves a list of all available pick list templates. ### Method GET ### Endpoint `/wms/picklisttemplates` ### Parameters None ### Request Example None ### Response #### Success Response (200) - **picklistTemplates** (array) - A list of pick list template objects. #### Response Example ```json { "picklistTemplates": [ { "id": "template_A", "name": "Standard Pick List", "defaultItems": [...] } ] } ``` ``` -------------------------------- ### Get Installed Printers API Endpoint Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/configuration Retrieves a list of all installed printers. This is a GET request to the /printers endpoint. ```api GET /printers ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/creditnote/creditnoteheader_printcreditnoteasync Queries all available items. ```APIDOC ## GET /availabilities ### Description Query all available items. ### Method GET ### Endpoint /availabilities ### Response #### Success Response (200) - **availabilities** (array of objects) - A list of item availability objects. - **itemId** (string) - The ID of the item. - **quantity** (integer) - The available quantity. #### Response Example ```json { "availabilities": [ { "itemId": "item-A", "quantity": 100 } ] } ``` ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer/offerheader_printofferasync Queries all available stock availabilities. ```APIDOC ## GET /availabilities ### Description Retrieves information about the stock availability for all items. ### Method GET ### Endpoint `/availabilities` ### Parameters None ### Request Example None ### Response #### Success Response (200) - **availabilities** (array) - A list of item availability objects. #### Response Example ```json { "availabilities": [ { "itemId": "item_101", "warehouseId": "warehouse_1", "quantity": 50 }, { "itemId": "item_102", "warehouseId": "warehouse_1", "quantity": 0 } ] } ``` ``` -------------------------------- ### Get Installed Printers Source: https://developer.jtl-software.com/products/erpapi/openapi/cancellationreason Returns a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers ### Method GET ### Endpoint /printers ``` -------------------------------- ### GET /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer/offerheader_printofferasync Queries all items in the system. ```APIDOC ## GET /items ### Description Retrieves a list of all items available in the system. ### Method GET ### Endpoint `/items` ### Parameters None ### Request Example None ### Response #### Success Response (200) - **items** (array) - A list of item objects. #### Response Example ```json { "items": [ { "id": "item_101", "name": "Product A", "sku": "SKU-A-001" }, { "id": "item_102", "name": "Product B", "sku": "SKU-B-002" } ] } ``` ``` -------------------------------- ### Get Installed Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/paymentmethod Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) Array of printer objects. #### Response Example None ``` -------------------------------- ### POST /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/paymentmethod/paymentmethodheader_querypaymentmethodsasync Create a new item in the system. ```APIDOC ## POST /items ### Description Adds a new item to the system. This endpoint allows for the creation of new products with their details. ### Method POST ### Endpoint `/items` ### Parameters #### Request Body - **name** (string) - Required - The name of the item. - **sku** (string) - Required - The Stock Keeping Unit for the item. - **description** (string) - Optional - A detailed description of the item. - **price** (number) - Required - The base price of the item. - **category** (string) - Optional - The category the item belongs to. ### Request Example ```json { "name": "USB-C Hub", "sku": "HUB-USBC-003", "description": "A versatile USB-C hub with multiple ports.", "price": 39.99, "category": "Accessories" } ``` ### Response #### Success Response (201) - **itemId** (string) - The unique identifier of the newly created item. - **message** (string) - A confirmation message indicating successful creation. #### Response Example ```json { "itemId": "item_new_456", "message": "Item created successfully." } ``` ``` -------------------------------- ### Get Installed Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer/offerheader_mailofferasync Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ### Parameters #### Query Parameters None #### Request Body None ### Request Example ``` GET /printers ``` ### Response #### Success Response (200) - **Array of Printers** (object array) - List of installed printers. ``` -------------------------------- ### Get Installed Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/extensibility Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters ### Request Example (No request body or parameters specified) ### Response #### Success Response (200) (Response details not specified) #### Response Example (Response example not specified) ``` -------------------------------- ### GET /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/paymentmethod/paymentmethodheader_querypaymentmethodsasync Query all available items in the system. ```APIDOC ## GET /items ### Description Retrieves a list of all items available in the system. This endpoint can be used to fetch product information. ### Method GET ### Endpoint `/items` ### Query Parameters - **limit** (integer) - Optional - The maximum number of items to return. - **offset** (integer) - Optional - The number of items to skip before starting to collect the result set. - **search** (string) - Optional - A search term to filter items by name or SKU. ### Response #### Success Response (200) - **items** (array) - A list of item objects. - **itemId** (string) - The unique identifier for the item. - **name** (string) - The name of the item. - **sku** (string) - The Stock Keeping Unit for the item. - **price** (number) - The base price of the item. #### Response Example ```json { "items": [ { "itemId": "item_xyz", "name": "Wireless Mouse", "sku": "MOU-WL-001", "price": 25.99 }, { "itemId": "item_abc", "name": "Mechanical Keyboard", "sku": "KEY-MECH-002", "price": 75.50 } ] } ``` ``` -------------------------------- ### GET /printers - Installed Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/property/propertyheader_createpropertygroupasync Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Retrieves a list of all installed printers. ### Method GET ### Endpoint /printers ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/section/authentication Query all available items' stock levels. ```APIDOC ## GET /availabilities ### Description Retrieves the current stock availability for all items. ### Method GET ### Endpoint `/availabilities` ### Parameters #### Path Parameters None #### Query Parameters - **itemId** (string) - Optional - Filter by a specific item ID. - **warehouseId** (string) - Optional - Filter by a specific warehouse ID. #### Request Body None ### Request Example ```bash curl -X GET "https://api.jtl-cloud.com/erp/availabilities?itemId=item123&warehouseId=wh-main" -H "Authorization: Bearer YOUR_API_KEY" ``` ### Response #### Success Response (200) - **availabilities** (array) - A list of item availability objects. - **itemId** (string) - The ID of the item. - **warehouseId** (string) - The ID of the warehouse. - **quantityOnHand** (number) - The quantity currently in stock. - **quantityOnOrder** (number) - The quantity on order. #### Response Example ```json { "availabilities": [ { "itemId": "item123", "warehouseId": "wh-main", "quantityOnHand": 100, "quantityOnOrder": 20 }, { "itemId": "item456", "warehouseId": "wh-main", "quantityOnHand": 50, "quantityOnOrder": 0 } ] } ``` ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/login Queries all available stock levels. ```APIDOC ## GET /availabilities ### Description Queries all available stock levels. ### Method GET ### Endpoint /availabilities ### Parameters None ### Request Example (No request body for GET requests) ### Response #### Success Response (200) - **availabilities** (array) - A list of stock availability objects. #### Response Example ```json { "availabilities": [ { "itemId": "item-abc", "warehouseId": "warehouse-1", "quantity": 100 }, { "itemId": "item-xyz", "warehouseId": "warehouse-1", "quantity": 50 } ] } ``` ``` -------------------------------- ### Get All Installed Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/configuration/numberrangesheader_deletenumberrangeasync Retrieves a list of all installed printers available in the system. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ### Parameters None ### Request Example None ### Response #### Success Response (200) - **Array of Printers** (object) - Details of each installed printer. #### Response Example ```json [ { "printerId": "string", "name": "string", "driverName": "string" } ] ``` ``` -------------------------------- ### POST /returns Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/login Create a new return with associated items and packages. -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/property Returns all installed printers. This endpoint allows you to retrieve a list of all printers installed within the system. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ### Parameters (No specific parameters mentioned in the provided text for this endpoint, but common headers like api-version, x-appid, x-appversion, and X-SessionId might apply.) ### Response (Details for the response body were not provided in the input text.) ``` -------------------------------- ### Get All Extensions - API Request Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/extensibility Retrieves a list of all installed extensions. This is a GET request to the /extensions endpoint and supports pagination. ```api GET /extensions ``` -------------------------------- ### GET /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/login Queries all items. ```APIDOC ## GET /items ### Description Queries all items. ### Method GET ### Endpoint /items ### Parameters None ### Request Example (No request body for GET requests) ### Response #### Success Response (200) - **items** (array) - A list of item objects. #### Response Example ```json { "items": [ { "itemId": "item-abc", "name": "Product A", "price": 10.99 }, { "itemId": "item-xyz", "name": "Product B", "price": 5.50 } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/openapi/accountingdata Returns all installed printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers ### Method GET ### Endpoint /printers ### Response #### Success Response (200) - **printers** (array) - An array of printer objects. #### Response Example { "printers": [ { "printerId": 1, "name": "Example Printer" } ] } ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/paymentmethod Query all availabilities ```APIDOC ## GET /availabilities ### Description Query all availabilities ### Method GET ### Endpoint /availabilities ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/printer Queries general item availabilities. ```APIDOC ## GET /availabilities ### Description Retrieves information about item availabilities. ### Method GET ### Endpoint /availabilities ### Response #### Success Response (200) - **availabilities** (array of objects) - A list of availability objects. - **itemId** (integer) - The ID of the item. - **warehouseId** (integer) - The ID of the warehouse. - **quantityOnHand** (integer) - The quantity of the item currently in stock. - **availableQuantity** (integer) - The quantity of the item that is available for sale. #### Response Example ```json { "availabilities": [ { "itemId": 101, "warehouseId": 1, "quantityOnHand": 100, "availableQuantity": 95 } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/property/propertyheader_updatepropertyvaluedescriptionasync Returns all installed printers. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ``` -------------------------------- ### GET /wms/picklisttemplates Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/printer Queries all available pick list templates. ```APIDOC ## GET /wms/picklisttemplates ### Description Retrieves a list of all available pick list templates. ### Method GET ### Endpoint /wms/picklisttemplates ### Response #### Success Response (200) - **picklistTemplates** (array of objects) - A list of picklist template objects. - **id** (integer) - The unique identifier for the picklist template. - **name** (string) - The name of the picklist template. - **items** (array of objects) - A list of default items in the template. - **itemId** (integer) - The ID of the item. - **quantity** (integer) - The quantity of the item. #### Response Example ```json { "picklistTemplates": [ { "id": 1, "name": "Standard Picklist", "items": [ { "itemId": 1001, "quantity": 5 } ] } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/section/introduction Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters None ### Request Example None ### Response #### Success Response (200) - **Array of printers** (array) - List of installed printers. #### Response Example ```json [ { "printerId": "printer1", "name": "HP LaserJet" } ] ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/configuration/numberrangesheader_getnumberrangeasync Retrieves a list of all installed printers. ```APIDOC ## Get Installed Printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters None ### Response #### Success Response (200) - (Array of printer objects) - Details of each installed printer. #### Response Example ```json [ { "id": "string", "name": "string", "status": "string" } ] ``` ``` -------------------------------- ### Offer Output API Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return/returnheader_queryreturnsasync Handles the printing and emailing of offers. ```APIDOC ## Offer Output API ### Description This API provides endpoints to execute the printing and emailing of offers. ### Endpoints #### POST /offer/{offerId}/output/mail **Description**: Sends an offer via email. #### POST /offer/{offerId}/output/pdf **Description**: Generates a PDF version of an offer. #### POST /offer/{offerId}/output/print **Description**: Prints an offer. ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/onholdreason Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters ### Request Example ### Response #### Success Response (200) - **Array of printers** #### Response Example ```json [ { "id": "printer1", "name": "Office Printer" } ] ``` ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return Queries item availabilities. ```APIDOC ## GET /availabilities ### Description Queries and returns information about item availabilities across different warehouses. ### Method GET ### Endpoint /availabilities ### Parameters #### Query Parameters - **itemId** (string) - Optional - Filter by a specific item ID. - **warehouseId** (string) - Optional - Filter by a specific warehouse ID. ### Request Example (No request body for GET requests) ### Response #### Success Response (200) - **availabilities** (array) - A list of item availability objects. - **itemId** (string) - The ID of the item. - **warehouseId** (string) - The ID of the warehouse. - **quantityOnHand** (number) - The quantity of the item currently in stock. - **availableQuantity** (number) - The quantity of the item that is available for sale or use. #### Response Example ```json { "availabilities": [ { "itemId": "item-001", "warehouseId": "wh-001", "quantityOnHand": 100, "availableQuantity": 95 }, { "itemId": "item-001", "warehouseId": "wh-002", "quantityOnHand": 50, "availableQuantity": 50 } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/onholdreason/onholdreasonheader_queryonholdreasonsasync Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters ### Request Example ### Response #### Success Response (200) - **Array of printers** (object array) - Description of printer objects. #### Response Example ```json [ { "id": "printer_1", "name": "Office Laser Printer", "status": "Online" } ] ``` ``` -------------------------------- ### Offer Output API Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/appregistration/authenticationheader_registermultiinstanceappasync Execute the printing or emailing of an offer. ```APIDOC ## Offer Output Operations ### Description Triggers the output of an offer in various formats like mail, PDF, or print. ### Method POST ### Endpoint - POST /offer/{offerId}/output/mail - POST /offer/{offerId}/output/pdf - POST /offer/{offerId}/output/print ### Parameters #### Path Parameters - **offerId** (string) - Required - The ID of the offer. ### Request Example None (POST requests do not require a request body for these operations) ### Response #### Success Response (200) - **status** (string) - Indicates the success of the operation. #### Response Example ```json { "status": "Processing" } ``` ``` -------------------------------- ### GET /wms/picklisttemplates Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return/returnheader_createreturnasync Retrieve all available pick list templates. ```APIDOC ## GET /wms/picklisttemplates ### Description Retrieves a list of all available pick list templates. ### Method GET ### Endpoint /wms/picklisttemplates ### Response #### Success Response (200) - **PicklistTemplates** (array) - A list of pick list template objects. - **templateId** (string) - The ID of the pick list template. - **name** (string) - The name of the pick list template. #### Response Example ```json { "PicklistTemplates": [ { "templateId": "template-1", "name": "Standard Pick List" } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/paymentmethod/paymentmethodheader_querypaymentmethodsasync Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ### Parameters None ### Response #### Success Response (200) Returns a list of installed printers. ### Response Example ```json [ { "id": "printer-001", "name": "HP LaserJet Pro", "status": "Ready" } ] ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/logout/authenticationheader_logoutasync Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Retrieves a list of all installed printers. ### Method GET ### Endpoint /printers ### Parameters None ### Response #### Success Response (200) - **Array of printers** (array) - Contains details for each installed printer. #### Response Example ```json [ { "id": "string", "name": "string" } ] ``` ``` -------------------------------- ### POST /returns Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/info Creates a new return with associated items and packages. Use this endpoint to initiate a return process. ```APIDOC ## POST /returns ### Description Creates a new return with associated items and packages. ### Method POST ### Endpoint /returns ### Parameters #### Request Body - **items** (array) - Required - List of items to be returned - **packages** (array) - Optional - List of packages associated with the return ### Request Example { "items": [ { "itemId": "string", "quantity": 1 } ], "packages": [] } ### Response #### Success Response (201) - Return object #### Response Example { "returnId": "string", "status": "created" } ``` -------------------------------- ### Get All Return Reasons Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/property/propertyheader_querypropertiesasync Retrieves a list of all predefined return reasons. ```APIDOC ## Get All Return Reasons ### Description Retrieves a list of all predefined return reasons. ### Method GET ### Endpoint /returnReasons ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```bash curl -X GET https://developer.jtl-software.com/_mock/products/erpapi/1.2-cloud/returnReasons ``` ### Response #### Success Response (200) - reasons (array) - List of return reasons. #### Response Example ```json [ { "id": 1, "name": "Damaged Item" }, { "id": 2, "name": "Wrong Item Received" } ] ``` ``` -------------------------------- ### Get Printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/configuration Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/login/authenticationheader_loginasync Retrieves a list of all installed printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ### Parameters None ### Request Example None ### Response #### Success Response (200) - **printers** (array) - A list of printer objects. #### Response Example ```json { "printers": [ { "id": "string", "name": "string" } ] } ``` ``` -------------------------------- ### GET /availabilities Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/stock/stockheader_querystocksperitemasync Query item availabilities. ```APIDOC ## GET /availabilities ### Description Query item availabilities. ### Method GET ### Endpoint /availabilities ### Parameters #### Query Parameters - **itemId** (integer) - Optional - Filters by item ID. - **warehouseId** (integer) - Optional - Filters by warehouse ID. ### Request Example ```json { "example": "GET /availabilities?itemId=123" } ``` ### Response #### Success Response (200) - **availabilities** (array) - An array of item availability objects. - **itemId** (integer) - The ID of the item. - **warehouseId** (integer) - The ID of the warehouse. - **availableQuantity** (number) - The available quantity of the item. - **reservedQuantity** (number) - The reserved quantity of the item. #### Response Example ```json { "availabilities": [ { "itemId": 123, "warehouseId": 456, "availableQuantity": 95.5, "reservedQuantity": 5.0 } ] } ``` ``` -------------------------------- ### List Installed Printers API Operation Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/property/propertyheader_querypropertiesasync This section describes the API operation to retrieve a list of all installed printers. The HTTP method is GET, and the endpoint is /printers. ```plaintext get /printers ``` -------------------------------- ### Return Reasons API Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer/offerheader_printofferasync Retrieve a list of all available reasons for returns. ```APIDOC ## Get Return Reasons ### Description Retrieves all available reasons for initiating a return. ### Method GET ### Endpoint /returnReasons ### Parameters #### Path Parameters None #### Query Parameters None ### Request Example None ### Response #### Success Response (200) - **returnReasons** (array) - List of return reasons. #### Response Example ```json [ { "id": 1, "name": "Damaged" }, { "id": 2, "name": "Wrong item received" } ] ``` ``` -------------------------------- ### GET /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return/returnheader_createreturnasync Query all items. ```APIDOC ## GET /items ### Description Retrieves a list of all items in the system. ### Method GET ### Endpoint /items ### Response #### Success Response (200) - **Items** (array) - A list of item objects. - **itemId** (string) - The unique identifier for the item. - **name** (string) - The name of the item. - **description** (string) - A description of the item. #### Response Example ```json { "Items": [ { "itemId": "item-123", "name": "Product A", "description": "A high-quality product." } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return Retrieves a list of all installed printers available in the system. ```APIDOC ## GET /printers ### Description Retrieves a list of all installed printers available in the system. ### Method GET ### Endpoint /printers ### Response #### Success Response (200) - Returns a list of installed printers. #### Response Example ```json [ "Printer 1", "Printer 2" ] ``` ``` -------------------------------- ### POST /wms/{warehouseId}/picklists Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/stock/stockheader_querystocksperitemasync Create a new pick list for a WMS warehouse. ```APIDOC ## POST /wms/{warehouseId}/picklists ### Description Create a new pick list for a WMS warehouse. ### Method POST ### Endpoint /wms/{warehouseId}/picklists ### Parameters #### Path Parameters - **warehouseId** (integer) - Required - The ID of the WMS warehouse. #### Request Body - **items** (array) - Required - An array of items to include in the pick list. - **itemId** (integer) - Required - The ID of the item. - **quantity** (number) - Required - The quantity of the item to pick. ### Request Example ```json { "items": [ { "itemId": 123, "quantity": 10 }, { "itemId": 456, "quantity": 5 } ] } ``` ### Response #### Success Response (201) - **message** (string) - A confirmation message indicating the pick list was created successfully. - **picklistId** (integer) - The ID of the newly created pick list. #### Response Example ```json { "message": "Picklist created successfully.", "picklistId": 102 } ``` ``` -------------------------------- ### GET /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/printer/printersheader_installedprintersasync Query all items available in the JTL-WAWI system. This endpoint retrieves a comprehensive list of all products. ```APIDOC ## GET /items ### Description Query all items. ### Method GET ### Endpoint `/items` ### Parameters #### Query Parameters (No query parameters documented) ### Request Example (No request body for GET requests) ### Response #### Success Response (200) - **items** (array) - A list of item objects. - **id** (integer) - The unique identifier for the item. - **name** (string) - The name of the item. - **sku** (string) - The Stock Keeping Unit for the item. #### Response Example ```json { "items": [ { "id": 1001, "name": "Example Product A", "sku": "PROD-A-001" }, { "id": 1002, "name": "Example Product B", "sku": "PROD-B-002" } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/printer Retrieves a list of all installed printers available in the system. ```APIDOC ## GET /printers ### Description Returns all Installed Printers. ### Method GET ### Endpoint /printers ### Parameters #### Headers - **api-version** (string) - Optional - Specify the desired API version, e.g., '1.0'. - **x-appid** (string) - Required - The name of your application, e.g., "MyApp/1.0.0". - **x-appversion** (string) - Required - The version number of your application, e.g., "1.0.0". - **x-runas** (string) - Optional - The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'. - **X-SessionId** (uuid) - Optional - The id of a session in which the call will be executed. ### Request Example ```curl curl -i -X GET \ https://developer.jtl-software.com/_mock/products/erpapi/1.2-cloud/openapi/printers \ -H 'Authorization: Bearer ' \ -H 'X-SessionId: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'api-version: string' \ -H 'x-api-key: YOUR_API_KEY_HERE' \ -H 'x-appid: string' \ -H 'x-appversion: string' \ -H 'x-runas: string' ``` ### Response #### Success Response (200) - **Array of strings** - Represents the list of installed printers. #### Response Example ```json [ "string" ] ``` #### Error Responses - **400**: Bad Request - **401**: Unauthorized - **402**: Payment Required ``` -------------------------------- ### GET /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/creditnote Queries a list of all items in the system. ```APIDOC ## GET /items ### Description Retrieves a comprehensive list of all items managed within the JTL-WAWI system. ### Method GET ### Endpoint /items ### Parameters #### Query Parameters (Parameters like `page`, `pageSize`, `filter` might be available but are not explicitly documented here.) ### Request Example (No request body for GET requests) ### Response #### Success Response (200) - **(Structure not specified)** - A list of item objects, each containing details like ID, name, description, price, etc. #### Response Example ```json { "items": [ { "itemId": "item-001", "name": "Product Alpha", "description": "A high-quality product.", "price": 19.99 }, { "itemId": "item-002", "name": "Product Beta", "description": "An essential item.", "price": 9.50 } ] } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/cancellationreason/cancellationreasonheader_querycancellationreasonsasync Retrieves a list of all installed printers available in the system. ```APIDOC ## GET /printers ### Description Returns all installed printers. ### Method GET ### Endpoint /printers ### Parameters None ### Request Example None ### Response #### Success Response (200) - **printers** (array) - A list of printer objects. - **printerName** (string) - The name of the printer. - **isDefault** (boolean) - Indicates if the printer is the default one. #### Response Example ```json { "printers": [ { "printerName": "PDF Printer", "isDefault": true }, { "printerName": "Physical Printer 1", "isDefault": false } ] } ``` ``` -------------------------------- ### POST /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/offer/offerheader_printofferasync Creates a new item in the system. ```APIDOC ## POST /items ### Description Creates a new item within the system. ### Method POST ### Endpoint `/items` ### Parameters #### Request Body - **itemData** (object) - Required - Data for the new item. - **name** (string) - Required - The name of the item. - **sku** (string) - Required - The Stock Keeping Unit (SKU) for the item. - **description** (string) - Optional - A detailed description of the item. - **price** (number) - Optional - The base price of the item. ### Request Example ```json { "itemData": { "name": "New Gadget", "sku": "NG-001", "description": "A brand new electronic gadget.", "price": 99.99 } } ``` ### Response #### Success Response (200) - **message** (string) - Confirmation message. - **itemId** (string) - The ID of the newly created item. #### Response Example ```json { "message": "Item created successfully.", "itemId": "item_new_789" } ``` ``` -------------------------------- ### Fetch Accounting Data - cURL Example Source: https://developer.jtl-software.com/products/erpapi/openapi/accountingdata/accountingdataheader_queryaccountingdataasync Example of how to fetch accounting data using cURL. It demonstrates the GET request to the `/accountingData` endpoint with various query parameters and required headers. ```curl curl -i -X GET \ 'https://developer.jtl-software.com/_mock/products/erpapi/openapi/accountingData?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&kFirma=0&type=0&exportCurrencyInDepartureCountry=true&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' ``` -------------------------------- ### POST /items Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/return/returnheader_createreturnasync Create a new item. ```APIDOC ## POST /items ### Description Creates a new item in the system. ### Method POST ### Endpoint /items ### Parameters #### Request Body - **name** (string) - Required - The name of the item. - **description** (string) - Optional - A description of the item. - **itemType** (string) - Required - The type of the item (e.g., 'physical', 'service'). ### Request Example ```json { "name": "New Gadget", "description": "An innovative new gadget.", "itemType": "physical" } ``` ### Response #### Success Response (200) - **itemId** (string) - The unique identifier of the newly created item. - **message** (string) - Confirmation message. #### Response Example ```json { "itemId": "item-new-789", "message": "Item created successfully." } ``` ``` -------------------------------- ### GET /printers Source: https://developer.jtl-software.com/products/erpapi/1.2-cloud/openapi/section/authentication Returns all installed printers. This endpoint allows you to query the available printers. ```APIDOC ## GET /printers ### Description Returns all Installed Printers ### Method GET ### Endpoint /printers ### Parameters None ### Request Example None ### Response #### Success Response (200) - **printers** (array) - List of printer objects. #### Response Example [ { "name": "My Printer", "status": "Ready" } ] ```