This is used to pass external inventory changes to Versa for reconciliation purposes. From a WMS system for example.
| URL | https://api_url/v1/inventory_transaction |
| Supported Methods | POST |
Elements
| facility_id | Facility the inventory transaction happened at |
| transaction_date | Date of the transaction |
| transaction_type |
one of SO,PO,ADJ SO means shipment due to sales order |
| transaction_ref | Reference identifying the transaction causing the inventory transaction |
| product_identifier | Unique identifier for the product. It can be part number or product name. |
| measurement_unit_id | Unit ID of the product that had the inventory transaction |
| quantity | either + or -. Plus means inventory has increased. Minus means inventory has decreased.Post an inventory transaction record in JSON: |
$ curl -X POST -H "Content-Type: application/json" -d @new_transaction.json -i --header "VERSACCOUNTS_AUTHORIZATION:xxx" https://api_url/v1/customer
new_transaction.json content
{ "inventory_transaction": { "facility_id": "", "measurement_unit_id": "", "transaction_date": "2024/10/22", "transaction_type": "ADJ", "transaction_ref": "Bulk Adjustment", "product_identifier": "V10-73201", "quantity": "1" } }
Comments and Suggestions
0 comments
Article is closed for comments.
Related articles