Delete Showcase
This endpoint used to delete existing showcase based on showcase_id.
Path
post
/v1/showcase/fs/:fs_id/delete?shop_id={{shop_id}}
Request Parameters
Parameter | Type | Required | Location | Description |
---|---|---|---|---|
fs_id | Integer | Required | path | Fulfillment service unique identifier |
shop_id | Integer | Required | path | Shop unique identifier |
id | String | Required | body | Showcase id to be updated |
Example Request
- Curl
curl -X POST \
'https://fs.tokopedia.net/v1/showcase/fs/13004/delete?shop_id=479573' \
-H 'Authorization: Bearer avK2WV5pSda4HlxC5mLrFA' \
-H 'Content-Type: application/json' \
-d '{
"id": 27927217
}'
Response Parameters
Name | Type | Demo Value | Description |
---|---|---|---|
String | Berhasil menghapus Etalase Toko | Response Message |
Success Response Examples
{
"header": {
"process_time": 1.622916408,
"messages": "Your request has been processed successfully"
},
"data": {
"message": "Berhasil menghapus Etalase Toko"
}
}
Error Response Examples
{
"header": {
"process_time": 1.827066836,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "There Are Error From Ext Service",
"error_code": "SHW_API_006"
},
"data": null
}
Error Codes
Error Code | Error Message | Description |
---|---|---|
SHP_GRPC_001 | Failed Send GRPC Request | Failed sending request to upstream |
SHP_GRPC_002 | There Are Error From Ext Service | Failed getting response from upstream |
SHP_GRPC_003 | Data Not Found | Failed finding data from upstream |
SHP_API_003 | Failed To Fetching Request | Failed fetching response from upstream |
SHP_USC_001 | FS ID is not associated with Shop ID | FS ID is not connected with the Shop ID, please kindly check |
SHP_USC_004 | Shop information is empty | Failed getting shop info, please kindly check |
SHP_DLV_001 | FS ID is not valid | Invalid FS ID, please kindly check |
SHP_DLV_002 | Shop ID is not valid | Invalid Shop ID, please kindly check |
SHP_DLV_008 | failed read body request | Failed read body request, please kindly check |
SHP_DLV_012 | fs_id cannot be empty | fs_id is empty, please kindly check |
SHP_DLV_013 | shop_id cannot be empty | shop_id is empty, please kindly check |