Skip to content

ManualOutboundOrderCreate

Use this api to create the outbound order.

POST /openapi/warehouse-inventory/v1/manual-outbound-order/create

Request Parameters

Parameter Type Required Description
warehouseId string true Warehouse id
no string false Warehouse no
remark string false Remark, should be less than 300
deliveryMethod DeliveryMethod true Please refer to DeliveryMethod for details
waybillNumber string false Waybill number should be less than 200
immediateExecute boolean true If the value is true, will execute directly, otherwise, need to invoke execute API
needPushFulfillment boolean true If use the third party and the value is true, will push order to third party
itemCreateList array(ManualOutboundOrderItemCreateDTO) true Array of item, please refer to ManualOutboundOrderItemCreateDTO for details

ManualOutboundOrderItemCreateDTO

Parameter Type Required Description
shelfInventoryId string true Shelf inventory id
planQuantity long true Plan quantity, used to lock in stock quantity
realQuantity long true Real quantity, Used to actually issue the inventory quantity
planPrice bigDecimal true Plan price
realPrice bigDecimal true Real price
remark string false Remark should be less than 300

Response Parameters

Name Type Description
data long Manual outbound order id

Request Example

Example

curl --location --request POST '{Ginee Host}/openapi/api-warehouse-inventory/manual-outbound-order/create' \
--header 'Authorization: 2aedf7919e5e6cb4:S0sSLI9RSK/Vw6t3MpDm7pCgD+Vze0/9fu4W0PaX/iE=' \
--header 'X-Advai-Country: ID' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "U1484411281229213696",
"warehouseId": "warehouseId",
"no": null,
"operatorId": "0",
"operatorName": "API",
"remark": null,
"deliveryMethod": "EXPRESS_DELIVERY",
"waybillNumber": null,
"immediateExecute": true,
"needPushFulfillment": false,
"itemCreateList": [
{
"shelfInventoryId": "shelfInventoryId",
"planQuantity": 1,
"realQuantity": 1,
"planPrice": 1,
"realPrice": 1,
"remark": "remark"
}
]
}'