Skip to main content

Increment Received Quantity

This endpoint used for incrementing received quantity.

Path

post

/fulfillment/partner/fs/:fs_id/receivedstock/increment

Request Parameters

ParameterTypeRequiredLocationDescription
product_id
Integer
Required
body
Product ID (maximum 20 product_id per request)
received_quantity
Integer
Required
body
Numbers of increment received quantity
asn_id
Integer
Optional
body
ASN ID, for increment only (update ASN status to prepare live)

Example Request

curl --location --request POST 'https://fs.tokopedia.net/fulfillment/partner/fs/:fs_id/receivedstock/increment' \
--header 'Authorization: Bearer C-UMqWWXRqaJugr7w5U0zQ' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"product_id": 15308256,
"received_quantity": 5,
"asn_id": 760
},
{
"product_id": 15478022,
"received_quantity": 1,
"asn_id": 793
}
]'

Response Parameters

Success Response Examples

{
"header": {
"process_time": 0.04571558,
"messages": "Your request has been processed successfully"
},
"data": {
"failed_rows": 0,
"failed_rows_data": null,
"succeed_rows": 2
}
}

Error Response Examples

{
"header": {
"process_time": 0.022022673,
"messages": "Your request has been processed successfully"
},
"data": {
"failed_rows": 0,
"failed_rows_data": [
{
"product_id": 15308256,
"sku": "",
"warehouse_id": 0,
"use_case": 0,
"notes": "",
"ref_num": "",
"reason": "INVALID_ASN_RECEIVED_QUANTITY",
"wsn_id": 0,
"asn_id": 760,
"received_quantity": 5
},
{
"product_id": 15478022,
"sku": "",
"warehouse_id": 0,
"use_case": 0,
"notes": "",
"ref_num": "",
"reason": "INVALID_ASN_RECEIVED_QUANTITY",
"wsn_id": 0,
"asn_id": 793,
"received_quantity": 111111
}
],
"succeed_rows": 0
}
}

Error Codes

Notes

Have a feedback?