Skip to main content

Get Resolution Ticket

This endpoint is used to get resolution ticket by shop_id.

Path

get

/resolution/v1/fs/:fs_id/ticket?shop_id={{shop_id}}

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service unique identifier
shop_id
Integer
Required
query
Shop unique identifier
start_date
Integer
Required
body
UNIX timestamp of date (hour, min, sec) from which the resolution ticket are
end_date
Integer
Required
body
UNIX timestamp of date (hour, min, sec) to which the resolution ticket are

Example Request

curl -X GET \
'https://fs.tokopedia.net/resolution/v1/fs/1/ticket?from_date=2021-08-06&to_date=2021-08-31&shop_id=1' \
-H 'Authorization: Bearer C-UMqWWXRqaJugr7w5U0zQ' \

Response Parameters

NameTypeDemo ValueDescription
is_success
Boolean
true
Is request success?
startdate
Timestamp
2021-08-24
Resolution Ticket Start Date
enddate
Timestamp
2021-08-31
Resolution Ticket End Date
shops
Array Object

Success Response Examples

{
"header": {
"process_time": 659,
"messages": "Your request has been processed successfully"
},
"data": {
"is_success": true,
"startdate": "2021-08-24",
"enddate": "2021-08-31",
"shops": [
{
"shop_id": 1,
"shop_name": "Test",
"ticket": [
{
"id": 1,
"problem_type": "Product broken/not same as description",
"status": "Finished",
"open_date": "2021-08-26",
"sla_date": "2021-08-30",
"close_date": "2021-08-30",
"invoice_number": "INV/1/MPL/1",
"solution": "Refund",
"complaint_product": [
{
"id": 1,
"Name": "Kipas angin super dingin",
"qty": 1,
"price": 2000,
"final_price": 0,
"image": "test"
}
],
"fault": "Seller",
"shipping_amt": 0,
"total_issued_funds": 2000
}
]
}
]
}
}

Error Response Examples

{
"header": {
"process_time": 0,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "Shop ID is not valid",
"error_code": "RESO_DLV_002"
},
"data": null
}

Error Codes

Have a feedback?