Create shipment inbound
POST
/api/v1/public/shipments/inbound/create
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/public/shipments/inbound/create' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"vendor": 106,
"inbound_address": {{pickup_id}},
"reference_code": "PA0001",
"note": "Noi dung ghi chu shipment inbound",
"parcels": [
{
"reference_code": "PA0001",
"note": "Noi dung ghi chu",
"weight": 1000,
"volume": "10x20x11",
"items": [
{
"sku": "VinamilkHappyStar220ml",
"inbound_quantity": 12
},
{
"sku": "250204067",
"inbound_quantity": 12
}
]
}
],
"images": [
{
"image_url": "https://cf.shopee.vn/file/b0e52a4fbd93984a86d0a13c3b84144f"
},
{
"image_url": "https://cf.shopee.vn/file/72ad6b5915844a189a163ca319494aad"
},
{
"image_url": "https://cf.shopee.vn/file/adc7248ada379446553ace30f9899fdc"
}
],
"documents": [
{
"name": "file test",
"quantity": 2,
"doc_type": "3",
"url": "google.com"
}
],
"additional_services": "CIG,ULG,RGO",
"config": {
"auto_approve": 1
}
}'
Response Response Example
200 - Success
{"status_code":200,"data":{"shipment_inbound_id":1411,"inbound_code":"NHIV1901916370","total_parcel":1},"error":false,"error_code":null,"log_id":null,"messages":"","total":1}
Request
Header Params
Authorization
string
required
Default:
{{your_api_key_here}}
Body Params application/json