Skip to content

CompleteInboundOrder

Use this api to complete inbound order,Support for multiple, partial completion.

POST /openapi/warehouse-inventory/v1/inbound-order/complete

Request Parameters

Parameter Type Required Description
id long true Purchase inbound order id
completeInbound boolean true Whether the inbound order is complete, fill in true if you complete the inbound order
items array(object) true see Item Info

Item Info

Name Type Required Description
id long true Inbound order item id
quantity long true Actual inbound quantity
realPrice bigDecimal false Actual Inbound Amount

Request Example

Example

curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/inbound-order/complete' \
--header 'Authorization: {Access Key} + ":" + {Signature}' \
--header 'X-Advai-Country: ID' \
--header 'Content-Type: application/json' \
--data-raw '{
    "completeInbound":true,
    "id":5122,
    "items":[
        {
            "id":16987,
            "quantity":2,
            "realPrice":100
        },
        {
            "id":16988,
            "quantity":1,
            "realPrice":1000
        }
    ]
}'

Success

{
    "code": "SUCCESS",
    "message": "成功",
    "data": null,
    "extra": null,
    "pricingStrategy": "PAY"
}