Webhooks

This feature allows you to integrate Qiscus Shop with other services. When Qiscus Shop receives a new order and order data changes, your service will receive an event with the data specified in the following payload.
So please prepare the webhook receiver URL, then enter it in the Callback URL of the Webhook Manager, save, and activate it."
Payload
{
"event_type": "update_order",
"payload": {
"order": {
"id": "cab3cadd-5304-4ea9-8a16-869548ca5152",
"date": "2023-10-25T16:09:19.020+07:00",
"created_at": "2023-10-25T16:09:19.020+07:00",
"updated_at": "2023-10-25T16:09:20.255+07:00",
"code": "9b33b1",
"status": {
"id": 0,
"name": "unpaid",
"category": "to do",
"created_at": "2023-08-09T13:51:13.815+07:00",
"updated_at": "2023-08-09T13:51:13.815+07:00"
},
"items": [
{
"qty": 1,
"product": {
"id": "148165d1-0144-40c3-9b98-4791c447ef4d",
"sku": "10001",
"name": "Qiscus Omnichannel",
"extras": {
"errors": [],
"images_url": "https://dnlbo7fgjcc7f.cloudfront.net/ergav-4oqumerwmn4r1ud/image/upload/3me9ItVBRs/qismo-logo.png",
"importable": true
},
"weight": 1,
"store_id": "538d6a26-eddd-4f01-baec-2ea26af58836",
"created_at": "2023-10-15T13:48:40.612+07:00",
"updated_at": "2023-10-16T00:46:58.755+07:00",
"category_id": "ef0e00c3-ad78-46bd-a2ec-e56462d2845c",
"description": "Qiscus Omnichannel Chat helps you to be present and provide the best communication services across multiple channels, while increasing conversion rates."
},
"variant": {
"id": "1669ea2b-dc2f-43fb-9dae-389fd4bd9f3b",
"sku": "001",
"name": "Lite",
"price": 700000,
"stock": 11,
"created_at": "2023-10-15T13:48:40.616+07:00",
"product_id": "148165d1-0144-40c3-9b98-4791c447ef4d",
"updated_at": "2023-10-24T13:41:43.175+07:00",
"original_price": 0
}
}
],
"payment": {
"id": "36801b65-c1bb-44b4-a763-0631b22483d0",
"fee": 1000,
"name": "BRI Virtual Account",
"type": 1,
"label": "Virtual Account",
"message": "Success to generate payment url",
"charge_type": "fixed",
"payment_url": "https://app.sandbox.midtrans.com/snap/v3/redirection/39802dce-b305-48f1-80db-ed62c8ae3dc9",
"charge_value": 1000
},
"address": {
"zip": "55294",
"name": "Rei",
"phone": "6281234567890",
"cityId": "35585b4b-738d-474b-8ac9-0a3f0545f11b",
"address": "Jl Penerangan, Gg. Jambu\nWetan Kali, Ambarketawang",
"provinceId": "9e8abc06-63e7-487c-ab31-eeb70d7956ab",
"subdistrictId": "679d84d6-5467-4693-b598-f56c37373c98"
},
"courier": {
"etd": "3 HARI",
"code": "pos",
"name": "POS Indonesia (POS)",
"note": "",
"value": 6000,
"service": "Pos Reguler"
},
"awb": null,
"payment_type": 1,
"delivery_fulfilled": true,
"payment_fulfilled": true,
"session": {
"id": "9b806365-cd06-4990-a8fa-1967cb2e289e",
"customer_id": "30a55da9-dd5f-4dd7-b0f0-82d44c0223bf",
"expired_at": "2023-10-25T17:08:41.392+07:00",
"code": "a9d45e",
"created_at": "2023-10-25T16:08:41.384+07:00",
"updated_at": "2023-10-25T16:08:41.384+07:00",
"room": "183575935",
"channel_id": null,
"channel": null,
"state": null
},
"total_price": 707000,
"subtotal_price": 700000,
"shipping_price": 6000,
"payment_fee": 1000
}
}
}
Was this page helpful?