Update Product Transfer
Update import, export or transfer product data by yourself. The details are as follows
API Endpoint
| URL |
{base url}/api/StockTransfer/CreateProductTransfer |
| Method |
POST |
| Authorization |
Bearer Token |
| Content-Type |
application/json |
Request Headers
| Parameter |
Type |
Required |
Description |
| APIKEY |
string |
true |
System key code |
Request Parameters
| Parameter |
Type |
Required |
Description |
| Id |
string |
true |
Product Transfer Id |
| DocNo |
string |
true |
Document number for the transfer |
| DocType |
string |
true |
Type of the document (e.g., Invoice, Transfer Order ,PO) |
| TransType |
string |
true |
Type of the transaction (e.g.,IN,OUT,TF) |
| DocDate |
string |
true |
Date when the document was created |
| DocPoNo |
string |
false |
Purchase order number associated with the transfer |
| DocRefNo |
string |
false |
Reference number for the document |
| DueDate |
string |
true |
Due date for the transfer, if applicable |
| Brand |
string |
false |
Brand name or identifier related to the transfer |
| TransferFrom |
string |
false |
Origin location of the transfer |
| TransferTo |
string |
false |
Destination location of the transfer |
| TransferRef |
string |
false |
Reference identifier for the transfer. |
| Remark |
string |
false |
Additional remarks about the transfer |
| ShopId |
string |
false |
Shop or branch ID associated with the transfer |
| Tag |
string |
false |
Additional tag or metadata for the transfer |
| ProductTransferItems |
object |
true |
ข้อมูลรายการโอนย้าย |
ProductTransferItems
| Parameter |
Type |
Required |
Description |
| SkuId |
string |
false |
Unique identifier for the SKU |
| Sku |
string |
true |
SKU of the product |
| Barcode |
string |
true |
Barcode of the product |
| Qty |
integer |
true |
Quantity of the product being transferred |
| MfgDate |
string |
false |
Manufacturing date of the product |
| ExpDate |
string |
false |
Expiration date of the product |
| CartonId |
string |
false |
Identifier for the carton containing the product |
| RefId |
string |
false |
Reference identifier for the product |
| Remark |
string |
false |
Additional remarks about the product item |
| WarehouseId |
string |
false |
Identifier for the warehouse where the product is stored |
| Tag |
string |
false |
Additional tag or metadata for the product item |
Request JSON Example
{
"Id": "1A41A3F8-8B26-4659-9923-2980F559E119",
"DocNo": "testapi123401",
"DocType": "po",
"TransType": "in",
"DocDate": "09-01-2025",
"DocPoNo": "",
"DocRefNo": "",
"DueDate": "13-01-2025",
"Brand": null,
"TransferFrom": null,
"TransferTo": null,
"TransferRef": null,
"Remark": null,
"ShopId": null,
"Tag": "#test #hold",
"ProductTransferItems": [
{
"SkuId": "",
"Sku": "MT101050",
"Barcode": "MT101050",
"Qty": 55,
"MfgDate": "30-11-2024",
"ExpDate": "",
"CartonId": null,
"RefId": null,
"Remark": null,
"WarehouseId": null,
"Tag": "#campaign"
},
{
"SkuId": "",
"Sku": "T711XL",
"Barcode": "T711XL",
"Qty": 25,
"MfgDate": "10-10-2024",
"ExpDate": "",
"CartonId": null,
"RefId": null,
"Remark": null,
"WarehouseId": null,
"Tag": "#hot"
}
]
}
Response Parameters
| Parameter |
Type |
Description |
| Id |
integer |
Error status (0 = no error) |
| Success |
boolean |
Status of the request |
| Message |
string |
Response message |
| RequestId |
string |
Reference ID for the request |
| Size |
integer |
Number of records update |
| Data |
object |
ProductTransfer Info |
Data
| Parameter |
Type |
Description |
| ProductTransferId |
string |
Product Transfer Id |
Response JSON Example
{
"Id": 0,
"Success": true,
"Message": "SUCCESS",
"RequestId": "F10DE89F-926A-4F93-8BFE-8D1F454EC3BE",
"Size": 1,
"Data": {
"ProductTransferId": "1A41A3F8-8B26-4659-9923-2980F559E119"
}
}