Skip to main content

Trigger Webhook

This endpoint retrieves all orders for your shop between given timestamps.

Path

get

/fulfillment/partner/fs/:fs_id/webhook/payload

Request Parameters

ParameterTypeRequiredLocationNotes/Example
fs_id
Integer
Required
path
Fulfillment service id.
order_id
Integer
Required
query
The order ID
to_webhook_typedate
String
Required
form
Possible values: order_notification

Example Request

curl --location --request POST 'https://fs.tokopedia.net/fulfillment/partner/fs/1001/webhook/trigger' \
--form 'webhook_type="order_notification"' \
--form 'order_id="1"'

Response Parameters

Success Response Examples

{
"header": {
"process_time": 0.000048812,
"messages": "Your request has been processed successfully"
},
"data": null
}

Error Response Examples

{
"header": {
"process_time": 0.000089037,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "Invalid fs_id, please double check",
"error_code": "ICR_VLD_002"
},
"data": null
}

Error Codes

Notes

Have a feedback?