API - Inventory Transaction

API - Inventory Transaction


Inventory Transaction GET/POST API and Push Webhook

Overview

We have provided an API that will support an inventory transaction to be created within printIQ from a third-party application. The API will support a standard inventory transaction, i.e. stock pick, stock adjustment or stock return. No additional functionality will be added to the printIQ inventory system.  printIQ will also provide a web-hook that will push inventory transactions to a URL endpoint. This will allow printIQ to push inventory transactions to a third-party application.


Instructions

Whenever a transaction happens within printIQ, that transaction will get pushed to a webhook that is configured.

You can GET/POST a webhook using the URL https://{INSTANCE}/WebService/WebHook.svc/json/inventorytransactions/

When you specify a TransactionType, these must be passed as is either 'Pick', 'Return' or 'Adjustment'. 

When you make picks or returns you must specify a job/sales order to pick or return from. You can specify a Job Number or Sales Order number and we will resolve the QQADKey/SOKeys for you.

Instead of specifying the ILKey you can specify the inventory location name.

Instead of specifying an IIKey you can specify an inventory item code (IICode)

If you have multiple sections with the same inventory item, you can specify a section number to pick from. If no section number is specified, the first section found with that inventory item will be picked.

When doing a return, you must specify a ITOverrideKey, this is the transaction key of the transaction you are returning. 

If you want to return a stock pick, that ITKey goes in the ITOverrideKey for the return transaction.


Sample Requests

POST

POST /WebService/WebHook.svc/json/inventorytransactions/ HTTP/1.1

Host: 
PrintIQ-API-Name: 
PrintIQ-API-Key: 
Body:

Adjustment Example:

{"TransactionType":"{TRANSACTIONTYPE}", "IICode": "{ITEMCODE}", "ITUnits": {QTY}, "ILName": "{LOCATION NAME}”}


{“TransactionType”:"adjustment", “IICode”: "NCCCABW310", “ITUnits”: 50, “ILName”: “Warehouse”}


Return Example:


{"TransactionType":"{ TransactionType }", "QQADKey": {QQADKey}, "IICode": "{ITEMCODE}", "ITUnits": {QTY}, "ILName": "{LOCATION NAME}", "ITOverrideKey":{ITKey}}


{"TransactionType":"return", "QQADKey": 871, "IICode”: "NCCCABW310", "ITUnits": 0, "ILName": "Warehouse", "ITOverrideKey":3308}


Pick Example:


{"TransactionType":"pick", "QQADKey": {QQADKey}, "IICode": "{ITEMCODE}", "ITUnits": {QTY}, "ILName": "{LOCATION NAME}"}


{"TransactionType":"pick", "QQADKey": 871, "IICode": "NCCLCR1BW400", "ITUnits": 16, "ILName": "Warehouse"}



GET

GET /WebService/WebHook.svc/json/inventorytransactions/ HTTP/1.1

Host: 

PrintIQ-API-Name: 

PrintIQ-API-Key: 


    • Related Articles

    • Webhook - Inventory Transaction Inserted

      You can trigger an Inventory Transaction webhook when you do stock adjustment, picked and return as per below. Adjustment From the Inventory Screen Click Adjustment. After entering Updated Quantity and click Update & Close, Inventory Transaction ...
    • Inventory - Quantity on Hand

      Adjust Inventory Manage location ‘Quantity on Hand’ upload function allows you to increase or decrease the quantity of your items in specific locations as well as create new location mappings. **NOTE: This function is basically a bulk csv upload of ...
    • Inventory Barcode Scanning - Stock Take

      Inventory items have unique barcode labels for each size of all items. They are prefixed with II (Inventory Item) Locations now have barcodes on them. They are prefixed with IL (Inventory Location) These are used within the Inventory Scanning screen ...
    • Inventory Barcode Scanning – Sales Order Pick

      Data Capture module is required to use this function. Please contact your account manager/support team.   Inventory items have unique barcode labels for each size of all items. They are prefixed with II (Inventory Item) Locations now have barcodes on ...
    • API (SOAP) – Send Email

      Introduction You may use SOAP calls to send emails from printIQ. Email templates are configured via Admin / Customise, then the link to Emails   All of the email templates available on your system may be referenced by the following table of ID’s:   ...