All services related to transfer items are listed in this page.
GET Transfer Item List
This method is used to get a comprehensive list of transfer items, providing detailed information for each item.
Path:/api/v1/oms/transfer-items/
Query Parameters
The following query parameters can be used to get the details of transfer items.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
{transfer_order}
string
query
The id of the transfer order we want to get the transfer items
Example Request
To get a detailed list of all transfer items, a GET request should be sent to
the /api/v1/oms/transfer-items/ endpoint. In the headers, set
the Authorization header to include the token for authentication.
Here's an example of how to make the request in python:
In a successful response with a status code of 200 OK, the API returns all the details of the transfer items in a JSON format. The response body contains a JSON object with the transfer items and their associated attributes, which may include ID, created and modified date, product, state, etc.
These parameters are described in the following table.
Parameter
Data Type
Description
id
integer
The primary key of transfer item
state
json
The status information of transfer item
unit_type
string
The unit type of transfer item
package_item
json
The package item information of transfer item
product
json
The product information of transfer item
created_date
date
The creation date
modified_date
date
The last modified date
name
string
The name of transfer item
quantity
string
How many transfer items
stock_code
string
The stock_code of transfer item
barcode
string
The barcode of transfer item
transfer_order
integer
The transfer order ID of transfer item
This example response serves as a reference to understand the structure and data format returned from this API service.
This method is used to get a list of transfer items with less detailed information.
Path:/api/v1/oms/transfer-items/list-simple/
Query Parameters
The following query parameters can be used to get the details of transfer items.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
{transfer_order}
string
query
The id of the transfer order we want to get the transfer items
Example Request
To get a less detailed information of the transfer items, a GET request
should be sent to the /api/v1/oms/transfer-items/list-simple/ endpoint. In the
headers, set the Authorization header to include the token for
authentication.
Here's an example of how to make the request in python:
In a successful response with a status code of 200 OK, the API returns information about the transfer items in a JSON format. The response body contains a JSON object with the transfer items and their associated attributes that are only used on the frontend.
Parameter
Data Type
Description
id
integer
The primary key of transfer item
unit_type
string
The unit type of transfer item
created_date
date
The creation date
modified_date
date
The last modified date
name
string
The name of transfer item
quantity
string
How many transfer items
stock_code
string
The stock_code of transfer item
barcode
string
The barcode of transfer item
state
integer
The state ID of transfer item
transfer_order
integer
The transfer order ID of transfer item
package_item
integer
The package item ID of transfer item
product
integer
The product ID of transfer item
This example response serves as a reference to understand the structure and data format returned from this API service.
This method is used to get detailed information about a single transfer item based on its ID.
Path:/api/v1/oms/transfer-items/{id}/
Query Parameters
The following query parameters can be used to get the details of transfer
items.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
{id}
integer
url
The ID of the transfer item
Example Request
To retrieve detailed information of given transfer item, a GET request should
be sent to the /api/v1/oms/transfer-items/{id}/ endpoint. In the headers, set
the Authorization header to include the token for authentication.
Here's an example of how to make the request in python:
In a successful response with a status code of 200 OK, the API returns all the details of the transfer items in a JSON format. The response body contains a JSON object with the transfer items and their associated attributes, which may include ID, created and modified date, product, state, etc.
These parameters are described in the following table.
Parameter
Data Type
Description
id
integer
The primary key of transfer item
state
json
The status information of transfer item
unit_type
string
The unit type of transfer item
package_item
json
The package item information of transfer item
product
json
The product information of transfer item
created_date
date
The creation date
modified_date
date
The last modified date
name
string
The name of transfer item
quantity
string
How many transfer items
stock_code
string
The stock_code of transfer item
barcode
string
The barcode of transfer item
transfer_order
integer
The transfer order ID of transfer item
This example response serves as a reference to understand the structure and data format returned from this API service.