Skip to main content

Order Module Adjustment

This section helps to explain new information in endpoints: Get Single Order, Get All Order and webhook Order Notification. New buyer information will be provided with attribute: buyer_id_hash. We will need to conduct a whitelisting process in order for you to receive this attribute, hence, kindly inform us the FS ID(s) you wish to receive 'buyer_hash_id'. SHA256 used to link the data between chat endpoint sender_id & order endpoint buyer_id_hash

Get Single Order

Added buyer_id_hash in the response after attribute buyer_info

{
"buyer_info": {
"buyer_id": 0,
"buyer_fullname": "Maulana Hasim",
"buyer_email": " ",
"buyer_phone": "*******0644"
},
"buyer_id_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}

For the detail information of get single order can be found here.

Get All Order

Added buyer_id_hash in the response after attribute recipient

{

"recipient": {
"Name": "Mitra Test Account",
"phone": "62888888888",
"address": {
"address_full": "Kobakma, Kab. Mamberamo Tengah, Papua, 99558",
"district": "Kobakma",
"city": "Kab. Mamberamo Tengah",
"province": "Papua",
"country": "Indonesia",
"postal_code": "99558",
"district_id": 5455,
"city_id": 555,
"province_id": 33,
"geo": "-3.69624360109313,139.10973580486393"
}
},
"buyer_id_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}

For the detail information of get all order can be found here.

Webhook Order Notification

Added buyer_id_hash in the response after attribute recipient

{

"recipient": {
"Name": "Mitra Test Account",
"phone": "62888888888",
"address": {
"address_full": "Kobakma, Kab. Mamberamo Tengah, Papua, 99558",
"district": "Kobakma",
"city": "Kab. Mamberamo Tengah",
"province": "Papua",
"country": "Indonesia",
"postal_code": "99558",
"district_id": 5455,
"city_id": 555,
"province_id": 33,
"geo": "-3.69624360109313,139.10973580486393"
}
},
"buyer_id_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}

For the detail information of webhook order notification can be found here.

Have a feedback?