UpdateInbound¶
Use this API to update inbound. the update is identified by inBoundNo.
POST /openapi/fulfillment/inbound/v1/update
Request Body¶
Parameter | Type | Required | Length | Description |
---|---|---|---|---|
inboundNo |
string |
true |
50 | Identifiers of inbound |
skuDetails |
object[] |
true |
/ | Details of the sku to be stocked See skuDetail Info |
remark |
string |
false |
500 | Remarks of the inbound order |
skuDetail¶
Name | Type | Description |
---|---|---|
itemSku |
string |
Item SKU |
requestQuantity |
int |
Inbound quantity |
Response Body¶
Name | Type | Description |
---|---|---|
code |
string |
SUCCESS | ERROR |
message |
string |
The status code detailed explanation. |
data |
object |
No data returned will be null. |
extra |
string |
An exception message (should be empty most of the time). |
transactionId |
string |
An unique string identifier for each request. |
pricingStrategy |
string |
Shows you whether this api call will be charged by Ginee, currently all APIs are FREE even though this tag is PAY. |
Request Example¶
Example
curl -X POST \
-H "X-Advai-Country: ID" \
-H "Authorization: {Your Access Key} + ':' + signature" \
-H "Content-Type: application/json" \
-d '{
"inboundNo": "xxf-testopenapi-003",
"skuDetails": [{
"itemSku":"Random 1",
"requestNum":900
}],
"remark":"This is remark"
}' \
"{Ginee Host}/openapi/fulfillment/inbound/v1/update"
Success
{
"code": "SUCCESS",
"message": "OK",
"data": null,
"extra": null,
"transactionId": "19d607ea5d78852a"
}
Failure
{
"code": "PARAMETER_ERROR",
"message": "Parameter is invalid: Parameter should not be empty: inboundNo ",
"data": null,
"extra": null
}