getInventoryTransferItems
The method allows you to retrieve items from a specific inventory transfer. Supports pagination for transfers with a large number of items.
Input parameters
| transfer_id | int | Transfer identifier |
| page | int | (optional) Results page number (100 items per page, numbered from 1) |
Output data
The method returns the data in JSON format.
| status | varchar(30) | SUCCESS - request executed correctly ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code |
| items | array | List of transfer items |
| | - item_id | int | Item identifier |
| | - transfer_id | int | Transfer identifier |
| | - position | int | Line item number within the transfer |
| | - product_id | int | Product identifier |
| | - product_name | varchar(255) | Product name as copied at the time of item creation |
| | - product_ean | varchar(32) | Product EAN |
| | - product_sku | varchar(50) | Product SKU |
| | - inventory_id | int | Inventory identifier |
| | - quantity | int | Ordered quantity to transfer |
| | - completed_quantity | int | Quantity actually transferred (filled during WMS execution) |
| | - is_completed | bool | Whether the item has been verified/completed during WMS execution |
| | - location_name | varchar(20) | Source storage location name |
| | - target_location_name | varchar(20) | Target storage location name |
| | - expiry_date | varchar(10) | Expiry date in YYYY-MM-DD format |
| | - batch | varchar(128) | Batch number |
| | - serial_no | varchar(128) | Serial number |
Sample
Input data:Output data:
A sample request in PHP: