Skip to main content

List Registered Webhook

This endpoint will return the urls that receiving the notifications.

Path

get

/v1/fs/:fs_id

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service unique identifier

Example Request

curl -X GET \
https://fs.tokopedia.net/v1/fs/13004 \
-H 'Authorization: Bearer JhgtdgUAQ5OJIrQMJjCiHA'

Response Parameters

NameTypeDemo ValueDescription
fs_id
Integer
13004
Fulfillment Services Unique Identifier
order_notification_url
String
http://yourstore.com/v1/order/notification
Order Notification Webhook URL
order_cancellation_url
String
http://yourstore.com/v1/order/cancellation
Order Cancellation Webhook URL
order_status_url
String
http://yourstore.com/v1/order/status
Order Status Webhook URL
order_request_cancellation_url
String
http://yourstore.com/v1/order/request_cancel
Order Request Cancellation Webhook URL
chat_notification_url
String
http://yourstore.com/v1/chat/notification
Chat Notification Webhook URL
product_changes_url
String
http://yourstore.com/v1/product/changes
Product Changes Webhook URL
campaign_notification_url
String
http://yourstore.com/v1/campaign/notification
Campaign Notification Webhook URL
order_partial_fulfillment_url
String
http://yourstore.com/v1/order/order_partial_fulfillment_url
Order Partial Fulfillment Webhook URL
webhook_secret
String
webhook_secret
Webhook Secret

Success Response Examples

{
"data": {
"fs_id": 13004,
"order_notification_url": "http://yourstore.com/v1/order/notification",
"order_cancellation_url": "http://yourstore.com/v1/order/cancellation",
"order_status_url": "http://yourstore.com/v1/order/status",
"order_request_cancellation_url":"http://yourstore.com/v1/order/request_cancel",
"chat_notification_url":"http://yourstore.com/v1/chat/notification",
"product_changes_url": "http://yourstore.com/v1/product/changes",
"campaign_notification_url": "http://yourstore.com/v1/campaign/notification",
"order_partial_fulfillment_url": "http://yourstore.com/v1/order/order_partial_fulfillment",
"webhook_secret": "webhook_secret"
},
"status": "200 Ok",
"error_message": []
}

Error Response Examples

<html>
<head>
<title>401 Authorization Required</title>
</head>
<body bgcolor="white">
<center>
<h1>401 Authorization Required</h1>
</center>
<hr>
<center>nginx</center>
</body>
</html>

Error Codes

Have a feedback?