Skip to main content

Update Showcase

This endpoint used to update existing showcase based on showcase_id.

Path

patch

/v1/showcase/fs/:fs_id/update?shop_id={{shop_id}}

Request Parameters

ParameterTypeRequiredLocationDescription
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
name
String
Required
body
Showcase name to be updated

Example Request

curl -X PATCH \
'https://fs.tokopedia.net/v1/showcase/fs/13004/update?shop_id=479573' \
-H 'Authorization: Bearer avK2WV5pSda4HlxC5mLrFA' \
-H 'Content-Type: application/json' \
-d '{
"Name" : "testshowcase2",
"id": 27927217
}'

Response Parameters

NameTypeDemo ValueDescription
message
String
Berhasil memperbarui Etalase Toko
Response Message

Success Response Examples

{
"header": {
"process_time": 0.417341071,
"messages": "Your request has been processed successfully"
},
"data": {
"message": "Berhasil memperbarui 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 CodeError MessageDescription
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

Have a feedback?