Skip to main content

Check Upload Status

This endpoint is used for checking whether product creation/edit is successful, to use this endpoint would have to obtain upload_id from create product endpoint or edit product endpoint.

Path

get

/v2/products/fs/:fs_id/status/:upload_id

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service unique identifier
shop_id
Integer
Required
query
Shop unique identifier
upload_id
Integer
Required
query
Upload id of the product to check

Example Request

  curl -X GET \
'https://fs.tokopedia.net/v2/products/fs/13245/status/12345?shop_id=479573' \
-H 'Authorization: Bearer HB8GNgfdRXS9c_sksTdTBw'

Response Parameters

NameTypeDemo ValueDescription
upload_data
Object Array

Success Response Examples

{
"header": {
"process_time": 0.045122173,
"messages": "Your request has been processed successfully"
},
"data": {
"upload_data": [
{
"upload_id": 0,
"status": "DONE",
"total_data": 1,
"unprocessed_rows": 0,
"success_rows": 1,
"failed_rows": 0,
"processed": 1
}
]
}
}

Error Response Examples

{
"header": {
"process_time": 9.7e-8,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "Invalid field [upload_id] format, value [283a] should be int",
"error_code": "PRD_DLV_042"
},
"data": null
}

Error Codes

Error CodeError MessageDescription
PRD_USC_001
fs_id Is Not Associated With Shop ID or Warehouse ID
fs_id not assosiated, please check again
PRD_USC_025
Shop ID is not associated with upload id
Shop ID not assosiated, please check again
PRD_CACHE_005
Data Not Found
Error on processing data
PRD_CACHE_006
Failed to retrieve cache data
Error on processing data
PRD_CACHE_007
Failed Unrmashall cache response
Error on processing data
PRD_DLV_045
Field %s should not be empty, please fill the empty field
Please check the request params again

Have a feedback?