Anda di halaman 1dari 102

API EXTERNAL

SELLER – CREWDIBLE

Version v3502
Updated LIVE September 2019
URL https://crewdible.com/api/v3500
Sanbox URL http://103.195.30.157/api/v3500
Requirement
Untuk dapat mengakses API Gudang - Crewdible, anda harus memiliki Client ID dan Client
Secret yang dapat anda peroleh dari Crewdible. Untuk setiap pemanggilan API, anda wajib
menyertakan kedua hal tersebut pada Http Header.

Berikut ini adalah format HTTP HEADER untuk setiap pemanggilan API:

$headers = array(
“Authorization: Basic <headerAuth>”,
“X-CREWDIBLE-CLIENT: <clientID>”
);

header adalah Base64_encode untuk Client Secret anda, dengan format sebagai berikut:

$headerAuth = base64_encode(“2:<clientSecret>”);

Berikut ini adalah contoh dalam PHP:

$clientId = “account@gudang.com";
$clientSecret = “1234567890”;
$headerAuth = base64_encode("2:$clientSecret");
$headers = array(
"Authorization: Basic $headerAuth",
"X-CREWDIBLE-CLIENT: $clientId"
);

GET TOKEN
Token diperlukan untuk setiap akses ke API. Token ini tidak bersifat permanen, setiap login ke
aplikasi (web ataupun android), Crewdible akan melakukan update token ini.

URL BASE_URL + "users/getToken"

Method POST JSON

Input {
"email": “account@seller.com",
"password": "password"
}

Output {
"result": 200,
"token": "0a9d55a28e1363390fddceff2a2f15c8",
"message": ""
}

1
SELLER INFO
Informasi umum Seller. Informasi ini adalah informasi yang ditampilkan di halaman Home seller-
app (web maupun android).

URL BASE_URL + "owner/info"

Method POST JSON

Input {
"account": "account@seller.com",
"email": " account @seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
“command” : “”
}
Output {
"message": "",
"result": 200,
"data": {
"id": "account@seller.com",
"name": "HH Order",
"picture": "pic_account@seller.com",
"location": "",
"latlon": "",
"role": "0",
"bio": "",
"phone": "0173898566",
"is_setup": "1",
"cod": "1",
"dropship": "1",
"announcement": null,
"bank": {
"bank_name": "BCA",
"acc_name": "wfdsff",
"acc_number": "234567"
},
"gudang": [
{
"id": "account@gudang.com",
"location": "theo",
"province": "jakarta barat",
"kecamatan": "kalideres",
"kelurahan": "pengadungan",
"name": "Gudang 1234 Green Lake 312 no 12",
"phone": "0173898566",
"picture": "pic_Chrysanthemum.jpg",

2
"latlon": "5.61598581915534,18.017578125",
"rate": "3.8",
"rental_rate": "7",
"dropship": "1",
"max_rate": "900",
"summaries": [
{
"periode": "September 2019",
"val_a": 303100,
"val_b": 1046000,
"val_c": 6500,
"val_d": 13000,
"val_e": 52,
"val_f": 41,
"val_g": 18500
},
{
"periode": "August 2019",
"val_a": 431000,
"val_b": 10100,
"val_c": 15784,
"val_d": 3000,
"val_e": 46,
"val_f": 21,
"val_g": 7000
},
{
"periode": "July 2019",
"val_a": 116000,
"val_b": 4000,
"val_c": 4253,
"val_d": 48455,
"val_e": 208,
"val_f": 10,
"val_g": 12000
},
{
"periode": "All",
"val_a": 850100,
"val_b": 1060100,
"val_c": 26537,
"val_d": 64455,
"val_e": 306,
"val_f": 72,
"val_g": 37500

3
}
],
"status": 4,
"holiday": "",
"contract_status": "0",
"review_period": "",
"barcode": "2",
"pending_inbound": "10"
},
{
"id": "account1@gudang.com",
"location": "jl test 123 no 12",
"province": "Pahang",
"kecamatan": "34000",
"kelurahan": "pengadungan",
"name": "theo2",
"phone": "0173898566",
"picture": "pic_Tulips.jpg",
"latlon": "11.745539786872575,13.999280455989265",
"rate": "3.5",
"rental_rate": "7",
"dropship": "0",
"max_rate": "10000",
"summaries": [
{
"periode": "August 2019",
"val_a": 0,
"val_b": 0,
"val_c": 0,
"val_d": 0,
"val_e": 4,
"val_f": 0,
"val_g": 0
},
{
"periode": "All",
"val_a": 0,
"val_b": 0,
"val_c": 0,
"val_d": 0,
"val_e": 4,
"val_f": 0,
"val_g": 0
}
],

4
"status": 4,
"holiday": "",
"contract_status": "0",
"review_period": "August, 2019",
"barcode": "2",
"pending_inbound": "0"
},
{
"id": "account3@gudang.com",
"location": "jl test 123 no 12",
"province": "Pahang",
"kecamatan": "34000",
"kelurahan": "test",
"name": "gudang baru",
"phone": "0987654",
"picture": "",
"latlon": "-2.230772529771228,14.344285575040203",
"rate": "3.5",
"rental_rate": "7",
"dropship": "1",
"max_rate": "10000",
"summaries": [
{
"periode": "All",
"val_a": 0,
"val_b": 0,
"val_c": 0,
"val_d": 0,
"val_e": 0,
"val_f": 0,
"val_g": 0
}
],
"status": 5,
"holiday": "",
"contract_status": "2",
"review_period": "",
"barcode": "2",
"pending_inbound": "6"
}
],
"badges": {
"inbound": "16",
"req_barcode": "0"
},

5
"toa": "1",
"escrow": "1541029",
"wallet": "2144780428"
}
}
Description Input :
1. command : “no_balance, no_summary, no_warehouse”
2. jika command kosong maka akan mengambil semua data yaitu
summary,gudang dan balance.
3. Jika hanya mengambil summary maka command yaitu
“no_balance,no_warehosue”
Output :
1. Summaries : statistic gudang dalam periode bulan
1. Val A : total income
2. Val B : biaya kurir
3. Val C : biya gudang
4. Val D : reimburse
5. Val E : pending outbond
6. Val F : total outbound
7. Val G : ignore

6
ORDER LIST
Mengambil data order.
URL BASE_URL + “order/lists/all/[status]”

Method POST JSON

Input {
"account": "account@seller.com",
"email": " account @seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"periode": "September 2019",
"gudang": " account@gudang.com",
“command” : “no-periode”,
"page": "1",
"limit": "10"
}
Output {
"result": 200,
"message": "",
"data": {
"items": [
{
"id": "145",
"description": "[DSP]1568609640",
"receiver": "",
"type": "7",
"status": "0",
"pickup_status": "0",
"pickup_type": "1",
"created": "Senin, 16 September 2019",
"print_status": "0"
},
{
"id": "144",
"description": "[DT]1568607672",
"receiver": "",
"type": "1",
"status": "4",
"pickup_status": "2",

7
"pickup_type": "1",
"created": "Senin, 16 September 2019",
"print_status": "0"
},
{
"id": "143",
"description": "[DSP]1568607619",
"receiver": "",
"type": "7",
"status": "4",
"pickup_status": "1",
"pickup_type": "1",
"created": "Senin, 16 September 2019",
"print_status": "0"
}
],
"periodes": [
"September 2019",
"August 2019",
"July 2019"
],
"total_page": 5,
"limit_page": "10"
}
}
Description Input :
1. status :
1. pending
2. done
3. all
2. param optional
1. periode
2. page
3. limit
4. command: no-periode artinya tidak mengambil data periode

8
ADD INV
Menambah transaksi / order / invoice

URL BASE_URL + “order/add/inv”

Method POST FORM

Input {
"message": "ini pesan",
"account": "account@seller.com",
"email": " account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"invoice": "[DT]1568631111",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "Penerima",
"receiver_addr": "jl green lake rukan cbd G15",
"receiver_phone": "08127878990",
"pickup": "0",
"force": "on",
"logistic": "8",
"booking_code": "",
"items":
"[{\"id\":\"113\",\"product\":\"laptop\",\"qty\":1,\"price\
":\"100000\"},{\"id\":\"121\",\"product\":\"kursi\",\"qty\"
:1,\"price\":\"1000\"}]",
"gudang": "account@gudang.com",
"show_logo": "1",
"packaging":
"[{\"id\":\"26\",\"name\":\"bublelap\",\"image\":\"\",\"uni
t\":\"12\",\"price\":\"1000\",\"qty\":1,\"total\":1000},{\"
id\":\"27\",\"name\":\"amplop\",\"image\":\"\",\"unit\":\"2
0\",\"price\":\"1000\",\"qty\":1,\"total\":1000}]"
}
Output {
"message": "",
"result": 200,
"data": {
"id": 148,
"description": "[DT]1568631485",
"status": 0,
"receiver": " Penerima",

9
"type": 1,
"pickup_status": 0,
"pickup_type": "1"
}
}

{
"message": "",
"result": 401,
"data": {}

}
Description Output :
1. Jika output result 401 maka artinya no invoice sudah ada. Jika ingin
lanjutkan maka tambahin param [“force”]
Input :
1. Param optional :
1. invoice
2. sender_name
3. sender_phone
4. receiver_name
5. receiver_addr
6. receiver_phone
7. force
8. booking_code
9. packaging
2. Show_logo :
1. 0 : tidak tampil logo
2. 1 : tampil logo

10
UPDATE INV
Mengedit data transaksi / order / inv

URL BASE_URL + “order/update/inv”

Method POST FORM

Input {
"message": "",
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"invoice": "[DT]1568631485",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "",
"receiver_addr": "",
"receiver_phone": "",
"pickup": "1",
"logistic": "4",
"booking_code": "",
"items": "[{\"id\":\"101\",\"product\":\"Pengiriman ,
sepenuhnya bukan tanggung jawab PIPO. No retur /
Unreturnable.\",\"qty\":1,
\"price\":\"10000\"},{\"id\":\"102\",\"product\":\"
Silahkan ditanya terlebih dahulu model yang anda inginkan
sebelum order ,untuk menghindari\",\"qty\":1,
\"price\":\"20000\"}]",
"gudang": "theolorenza@gudang.com",
"show_logo": "1",
"packaging":
"[{\"myid\":1,\"id\":\"26\",\"name\":\"kotak\",\"image\":\"
\",\"unit\":\"12\",\"price\":\"1000\",\"qty\":\"1\",\"total
\":1000},{\"myid\":2,\"id\":\"27\",\"name\":\"amplop\",\"im
age\":\"\",\"unit\":\"20\",\"price\":\"1000\",\"qty\":\"1\"
,\"total\":1000}]",
"id": "148"
}
Output {
"message": "",
"result": 200,
"data": {
"id": 148,

11
"description": "[DT]1568631485",
"status": 0,
"receiver": " Penerima",
"type": 1,
"pickup_status": 0,
"pickup_type": "1"
}
}
Description

12
ADD DROPSHIP
Membuat transaksi dropship

URL BASE_URL + “order/add/dropship”

Method POST FORM

Input {
"message": "pesan droship",
"account": "account@seller.com",
"email": " account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"invoice": "AABBCCDD",
"transaction_val": "10000",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "penerima",
"receiver_addr": "jl green lake rukan cbd G15",
"receiver_phone": "081290909000",
"pickup": "0",
"logistic": "21",
"booking_code": "",
"packets": "[{\"title\":\"HH Or-
7398.1\",\"items\":[{\"name\":\"pengaris\",\"qty\":\"10\"}]
,\"id\":0},{\"title\":\"HH Or-
7398.2\",\"items\":[{\"name\":\"pena\",\"qty\":\"10\"}],\"i
d\":0}]",
"gudang": " account@gudang.com",
"show_logo": "",
"packaging":
"[{\"id\":\"25\",\"name\":\"lakban\",\"price\":\"2000\",\"q
ty\":1,\"total\":2000,\"unit\":\"12\"},{\"id\":\"26\",\"nam
e\":\"kotak\",\"price\":\"1000\",\"qty\":1,\"total\":1000,\
"unit\":\"12\"}]"
{
Output
"message": "",
"result": 200,
"data": {
"id": 149,
"description": "AABBCCDD",
"status": 0,
"receiver": "penerima",
"type": 7,
"pickup_status": 0,
"pickup_type": "0"
}
}

13
{
"message": "",
"result": 401,
"data": {}
}
Description Output :
1. Jika output result 401 maka artinya no invoice sudah ada. Jika ingin
lanjutkan maka tambahin param [“force”]
Input :
1. Param optional :
1. invoice
2. sender_name
3. sender_phone
4. receiver_name
5. receiver_addr
6. receiver_phone
7. force
8. booking_code
9. packaging
2. Show_logo :
1. 0 : tidak tampil logo
2. 1 : tampil logo

14
UPDATE DROPSHIP
Mengedit data dropship

URL BASE_URL + “order/update/dropship”

Method POST FORM

Input {
"message": "pesan droship",
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"invoice": "AABBCCDD",
"transaction_val": "10000",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "penerima",
"receiver_addr": "jl green lake rukan cbd G15",
"receiver_phone": "081290909000",
"pickup": "0",
"logistic": "21",
"booking_code": "",
"packets": "[{\"title\":\"HH Or-
7398.1\",\"items\":[{\"name\":\"pengaris\",\"qty\":\"10\"}]
,\"id\":\"65\"},{\"title\":\"HH Or-
7398.2\",\"items\":[{\"name\":\"pena\",\"qty\":\"10\"}],\"i
d\":\"66\"}]",
"gudang": "theolorenza@gudang.com",
"show_logo": "",
"packaging":
"[{\"id\":\"25\",\"name\":\"lakban\",\"price\":\"2000\",\"q
ty\":\"1\",\"total\":2000,\"unit\":\"12\"},{\"id\":\"26\",\
"name\":\"kotak\",\"price\":\"1000\",\"qty\":\"1\",\"total\
":1000,\"unit\":\"12\"}]",
"id": "149"
}
Output {
"message": "",
"result": 200,
"data": {
"id": "149",
"status": 0,

15
"description": "AABBCCDD",
"receiver": "penerima",
"type": 7,
"pickup_status": "0",
"pickup_type": "0"
}
}
Description

16
GET DETAIL ORDER
Mengambil detail order

URL BASE_URL + “order/detail/[status]”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "149"
}

Output Inv : jika status inv


{
"result": 200,
"message": "",
"data": {
"inv": {
"id": 119,
"title": "[DT]1568101656",
"created": "2019-09-10 14:47:36",
"updated": "2019-09-13 16:11:43",
"message": "",
"type": 1,
"status": 1,
"attachment": "",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "",
"receiver_addr": "",
"receiver_phone": "",
"info": "",
"pickup_type": 1,
"logistic": {
"id": 3,
"name": "Grab",
"icon": "ic_grab.png",
"type": 1,
"booking_type": 0
},
"transaction_val": 100000,
"fee": "900",
"booking_code": "",
"pickup_status": 2,
"storage_type": 1,
"show_logo": 1,

17
"packaging": [
{
"packaging_id": "26",
"packaging_name": "kotak",
"packaging_unit": "12",
"packaging_price": "1000",
"packaging_image": "",
"qty": "1",
"total": "1000"
},
{
"packaging_id": "27",
"packaging_name": "amplop",
"packaging_unit": "20",
"packaging_price": "1000",
"packaging_image": "",
"qty": "1",
"total": "1000"
}
],
"items": [
{
"product_id": 113,
"sku_id": 133,
"sku_label": "16801000020030",
"name": "laptop",
"qty": 1,
"price": 100000,
"picture": ""
}
],
"exchanged": null,
"performance_time": 102247,
"performance_couting": false
},
"awb": {
"id": 127,
"title": "[DR]1568199551",
"created": "2019-09-11 17:59:12",
"updated": "2019-09-11 17:59:19",
"type": 2,
"status": 1,
"attachment": "",
"delivery_fee": 0,
"info": ""
},
"retur": {
"id": 17,
"created": "2019-09-10 14:47:36",
"updated": "2019-09-13 16:11:43",

18
"type": 1,
"status": 1,
"fee": "450",
"items": [
{
"product_id": 113,
"sku_id": 133,
"sku_label": "16801000020030",
"name": "laptop",
"qty": 1,
"price": 100000
}
]
},
"switch": {
"id": 131
}
}
}

Dropship : jika status dropship


{
"result": 200,
"message": "",
"data": {
"inv": {
"id": 40,
"title": "[DSP] HH Or-5648",
"created": "2019-07-29 10:44:06",
"updated": "2019-08-28 15:05:56",
"message": "",
"type": 7,
"status": 1,
"attachment":
"inv1_theolorenza@seller.com_15643718460.png",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "",
"receiver_addr": "",
"receiver_phone": "",
"info": "[Seller] ditolak saja",
"pickup_type": 1,
"logistic": {
"id": 4,
"name": "Gojek",
"icon": "ic_gojek.png",
"type": 1,
"booking_type": 0
},
"transaction_val": 10000,

19
"fee": "350",
"booking_code": "",
"pickup_status": 1,
"packaging": [],
"performance_time": 0,
"performance_couting": false,
"packets": [
{
"id": "51",
"seller":
"theolorenza@seller.com",
"log_id": "40",
"title": "HH OR-5648",
"status": "1",
"arrived_time": "2019-07-29
10:44:18",
"items": [
{
"id": "53",
"dropship_id": "51",
"name": "test",
"qty": "1"
}
]
}
]
},
"awb": {
"id": 41,
"title": "[DR]1564371867",
"created": "2019-07-29 10:44:27",
"updated": "2019-08-28 15:05:56",
"type": 2,
"status": 1,
"attachment": "",
"delivery_fee": 0,
"info": ""
}
}
}

Cod : jika status cod


{
"result": 200,
"message": "",
"data": {
"inv": {
"id": 164,
"title": "[COD]1568788314",
"created": "18/09/2019",

20
"updated": "2019-09-18 13:31:54",
"message": "",
"type": 4,
"status": 0,
"info": "",
"transaction_val": 2000,
"fee": "0",
"pickup_status": 1,
"packaging": [],
"items": [
{
"product_id": 99,
"sku_id": 96,
"sku_label": "16801000020004",
"name": "Barang kami kirimkan
dalam kondisi ",
"qty": 1,
"price": 2000
}
]
}
}
}

Description Input :
1. status :
1. inv
2. dropship
3. cod
Output :
1. untuk inv kalau memiliki object awb, retur, dan switch maka inv tersebut
sudah memiliki awb, retur, dan switch. Misalkan jika gak ada object awb
maka belum memiliki awb selain itu juga sama.
2. Untuk inv jika memiliki object retur maka inv tersebut tidak bisa diretur
lagi
3. Untuk dropship hanya memiliki awb. Tidak bisa retur dan switch
4. Untuk object inv jika pickup_type sama dengan “0” dan status awb sama
dengan “0” maka awb tersebut sudah bisa update “Setuju & Selesai” dan
“Tolak Awb”. Ini hanya berlaku dengan status inv and dropship
5. Untuk object inv jika pickup_type sama dengan “1” dan status awb sama
dengan “0” maka awb tersebut sudah bisa update “Pickup Sudah
Dipesan” dan “Tolak Awb”. Ini hanya berlaku dengan status inv and
dropship
6. Untuk cod tidak memiliki awb, retur,dan switch.
7. Untuk cod jika status sama dengan “0” dan pickup_status sama dengan
“1” maka cod tersebut sudah bisa update “Setuju” dan “Tolak”
8. Object retur status :

21
• 0 : pending. Jika masih pending maka retur masih bisa dibatalkan
• 1 : done. Barang retur sudah diterima oleh gudang.
9. Status inv and dropship :
• 0 : pending
• 1 : done
• 2 : canceled
• 3 : reject
• 4 : pending awb
• 5 : reject awb
• 6 : pending return
10. Pickup_type
• 0 : Regular
• 1 : Pickup
11. Pickup_status
• 0 : pending
• 1 : packaging
• 2 : req pickup
• 3 : pickup
• 4 : sent
• 5 : picking

22
SETUJU & SELESAI AWB
Untuk memperbarui status bahwa awb sudah disetujui oleh seller

URL BASE_URL + “order/confirm/awb”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "161"
}

Output {
"result": 200,
"message": ""
}

Description Input :
1. id : untuk id yang dikirim adalah id awb

23
PICKUP SUDAH DIPESAN
Untuk memperbarui transaksi yang besifat PICKUP (Gojek / Grab), bahwa pickup sudah
dipesan dan dikirim ke gudang.
URL BASE_URL + “order/pickup/sent”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "161"
}

Output {
"result": 200,
"message": ""
}

Description Input :
1. id : untuk id yang dikirim adalah id awb

24
TOLAK AWB
Untuk menolak awb tersebut. Penolakan ini tidak membatalkan order, namun memberikan
gudang kesempatan untuk memperbaiki AWB (seperti ongkir atau resi).
URL BASE_URL + “order/reject/awb”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "161"
}

Output {
"result": 200,
"message": ""
}
Description Input :
1. id : untuk id yang dikirim adalah id awb

25
SETUJU COD / COP
Melakukan konfirmasi terhadap gudang bahwa transaksi COD / COP yang dilakukan oleh
gudang disetujui pihak seller.
URL BASE_URL + “order/confirm/cod”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "164",
"items": "[{\"id\":99,\"price\":2000}]"
}

Output {
"result": 200,
"message": ""
}

Description Input :
1. id : untuk id yang dikirim adalah id cod/cop

26
TOLAK COD/COP
Menolak transaksi COD / COP yang dibuat oleh gudang

URL BASE_URL + “order/reject/cod”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "164",
"message": "ini harga tidak sesuai",
}

Output {
"result": 200,
"message": ""
}

Description Input :
1. id : untuk id yang dikirim adalah id cod/cop
2. param message optional

27
RETUR / PENGEMBALIAN
Seller dapat membuat transaksi retur (pengembalian barang) terhadap order yang telah
diselesaikan sebelumnya.
URL BASE_URL + “order/add/return

Method POST FORM

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "50",
"gudang": "account@gudang.com",
"return_items": "[{\"name\":\"
pena\",\"picture\":\"\",\"price\":20000,\"qty\":1,\"sku_id\
":100,\"id\":102,\"sku_label\":\"16801000020008\"}]",
"type": "0"
}
Output {
"result": 200,
"message": "",
"data": {
"id": "50",
"description": "[DT]1564634029",
"status": 6,
"receiver": "",
"type": 1
}
}
Description

28
SWITCH / PENUKARAN
Seller dapat membuat transaksi penukaran barang terhadap order yang telah diselesaikan
sebelumnya.
URL BASE_URL + “order/add/return

Method POST FORM

Input {
"message": "ini mau ditukarkan jadi ini",
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"gudang": "account@gudang.com",
"id": "50",
"return_items": "[{\"name\":\"
pena\",\"picture\":\"\",\"price\":20000,\"qty\":1,\"sku_id\
":100,\"id\":102,\"sku_label\":\"16801000020008\"}]",
"type": "1",
"invoice": "",
"sender_name": "HH Order",
"sender_phone": "0173898566",
"receiver_name": "anto",
"receiver_addr": "jl green lake city rukan cbd G15",
"receiver_phone": "081256567788",
"pickup": "1",
"logistic": "3",
"booking_code": "",
"switch_items":
"[{\"id\":\"113\",\"product\":\"laptop\",\"qty\":\"2\",\"st
ock\":998,\"price\":\"100000\",\"status\":\"0\"}]",
"show_logo": "1",
"packaging": "[]"
}
Output {
"result": 200,
"message": "",
"data": {
"id": "50",
"description": "[DT]1564634029",
"status": 6,
"receiver": "",
"type": 1
}

29
}

Description Input :
1. type :
1. 1 : tanggungan seller
2. 2 : tanggungan gudang

30
CANCEL ORDER
Untuk membatalkan order yang masih dalam status pending

URL BASE_URL + “order/cancel/[status]”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "164",
"message": "ini mau dibatalkan",
}

Output {
"result": 200,
"message": ""
}

Description Input :
1. status
1. inv : membatalkan inv tersebut
2. dropship : membatalkan dropship tersebut
3. retur : membatalkan retur tersebut
4. param message optional

31
GET PACKAGING
Megambil daftar packaging

URL BASE_URL + “product/packaging”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722"
}

Output {
"result": 200,
"data": [
{
"id": "25",
"name": "lakban",
"price": "2000",
"image": "",
"unit": "12",
"seq": "1000"
},
{
"id": "27",
"name": "amplop",
"price": "1000",
"image": "",
"unit": "20",
"seq": "1000"
},
{
"id": "28",
"name": "kardus 20ml",
"price": "500",
"image": "",
"unit": "10",
"seq": "1000"
},

32
{
"id": "29",
"name": "bubble lap",
"price": "1000",
"image": "",
"unit": "20",
"seq": "1000"
}
],
"message": ""
}
Description

33
GET LOGISTIC
Megambil daftar logistik

URL BASE_URL + “owner/getLogistics”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"gudang": "account@gudang.com",
}

Output {
"result": 200,
"data": [
{
"id": "8",
"name": "First Logistic",
"seq": "26",
"icon": "ic_first_logistic.png",
"type": "0",
"booking_type": "0",
"booking_icon": null,
"active": "1"
},
{
"id": "4",
"name": "Gojek",
"seq": "17",
"icon": "ic_gojek.png",
"type": "1",
"booking_type": "0",
"booking_icon": null,
"active": "1"
},
{
"id": "3",
"name": "Grab",

34
"seq": "12",
"icon": "ic_grab.png",
"type": "1",
"booking_type": "0",
"booking_icon": null,
"active": "1"
},
{
"id": "26",
"name": "JNe cashh",
"seq": "23",
"icon": "Desert.jpg",
"type": "1",
"booking_type": "1",
"booking_icon": null,
"active": "1"
},
{
"id": "9",
"name": "Si Cepat REG",
"icon": "ic_sicepat.png",
"type": "0",
"booking_type": "0",
"booking_icon": null,
"seq": "20",
"active": "1"
}
],
"message": ""
}
Description Output :
1. type :
• 0 : regular
• 1 : pickup
2. Booking_type
• 0 : no booking code
• 1 : have booking code

35
GET DATA STOCK PRODUCT
Mengambil data stock seller yang sudah simpan di gudang.

URL BASE_URL + “stock/lists/gudang”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"gudang": "account@gudang.com",
"display": "all"
}

Output {
"result": 200,
"message": "",
"data": [
{
"id": "119",
"sku_id": "127",
"sku_label": "16801000020024",
"name": "headset",
"stock_warehouse": "997",
"stock_seller": "997",
"price": "2000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},
{
"id": "118",
"sku_id": "128",
"sku_label": "16801000020025",
"name": "keyboard",
"stock_warehouse": "99",
"stock_seller": "99",

36
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},
{
"id": "117",
"sku_id": "129",
"sku_label": "16801000020026",
"name": "kertas",
"stock_warehouse": "999",
"stock_seller": "999",
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},
{
"id": "116",
"sku_id": "130",
"sku_label": "16801000020027",
"name": "topi",
"stock_warehouse": "998",
"stock_seller": "998",
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},

37
{
"id": "115",
"sku_id": "131",
"sku_label": "16801000020028",
"name": "charger",
"stock_warehouse": "999",
"stock_seller": "999",
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},
{
"id": "114",
"sku_id": "132",
"sku_label": "16801000020029",
"name": "botol",
"stock_warehouse": "998",
"stock_seller": "998",
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},
{
"id": "113",
"sku_id": "133",
"sku_label": "16801000020030",
"name": "laptop",
"stock_warehouse": "997",
"stock_seller": "997",
"price": "100000",

38
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
},
{
"id": "112",
"sku_id": "134",
"sku_label": "16801000020031",
"name": "komputer",
"stock_warehouse": "3",
"stock_seller": "4",
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"sku_status": "0",
"qc_status": "0",
"qc_steps": ""
}
]
}
Description Input :
1. display :
all : mengambil semua stock yang masih ada atau tidak di gudang
tersebut
exist : mengambil stock yang masih ada digudang tersebut

Output :
1. Sku_status :
• 0 : pending
• 1 : verified
• 2 : unverified
2. Qc_status :
• 0 : no QC
• 1 : use Qc
3. Qc_flag :
• 0 : belum diterima crewdible

39
• 1 : sudah diterima

40
MANUAL UPDATE STOCK
Mengedit data stock yang dibagian seller secara manual. Perubahan ini akan membuat status
barang menjadi selisih, dan butuh konfirmasi dari pihak gudang untuk menyamakan jumlah
stok.
URL BASE_URL + “stock/update/manual”

Method POST JSON

Input {
"account": " account @seller.com",
"email": " account @seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"gudang": "account@gudang.com",
"products": [
{
"id": "99",
"qty": "2"
},
{
"id": "98",
"qty": "3"
}
]
}
Output {
"result": 200,
"message": "",
"data": [
{
"id": "99",
"status": "SUCCESS"
},
{
"id": "98",
"status": "SUCCESS"
}
]
}
Description

41
INBOUND LIST
Mengambil daftar inbound (stok yang dikirim ke gudang)

URL BASE_URL + “stock/inbound/list/[status]”

Method POST JSON

Input {
"account": " account @seller.com",
"email": " account @seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"gudang": "account@gudang.com",
}

Output {
"result": 200,
"message": "",
"data": {
"status": "all",
"items": [
{
"id": "27",
"code": "P2-27",
"status": "0",
"message": "",
"created": "2019-09-10 11:50:21",
"sent": "0000-00-00 00:00:00",
"qc_status": "0",
"updated": "2019-09-10 11:50:21",
"total_item": "4",
"total_sku": "4",
"warehouse_name": "Gudang 1234 Green Lake 312 no
12"
},
{
"id": "29",
"code": "P2-29",
"status": "0",
"message": "",
"created": "2019-09-12 18:03:13",
"sent": "0000-00-00 00:00:00",

42
"qc_status": "0",
"updated": "2019-09-12 18:03:13",
"total_item": "2",
"total_sku": "2",
"warehouse_name": "Gudang 1234 Green Lake 312 no
12"
}
]
}
}
Description Input :
1. status :
1. pending
2. sent,
3. done
4. waiting

43
DETAIL INBOUND
Mengambil data detail inbound (stok yang dikirim ke gudang) tersebut

URL BASE_URL + “stock/inbound/detail”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "27",
"gudang": "account@gudang.com"
}

Output {
"result": 200,
"message": "",
"data": {
"id": "27",
"message": "",
"created": "2019-09-17 15:42:24",
"sent": "0000-00-00 00:00:00",
"updated": "2019-09-17 15:42:24",
"barcode": "2",
"paid": "0",
"code": "P2-43",
"qc": "0",
"status": "0",
"items": [
{
"sku_id": "107",
"sku_name": "16801000020015",
"name": "pena",
"price": "10000",
"picture": "",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",

44
"qc_fee": null,
"qc_category": null,
"inbound_total": "1",
"curr_total": "1003"
},
{
"sku_id": "106",
"sku_name": "16801000020014",
"name": "pengaris",
"price": "10000",
"picture": "",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"qc_fee": null,
"qc_category": null,
"inbound_total": "1",
"curr_total": "1002"
}
]
}
}
Description Output :
1. jika barcode sama dengan 1 yaitu barcode by gudang maka harus
membayar dengan rumus (peritem * 250)
2. jika qc_status sama dengan 1 yaitu memiliki QC maka harus membayar
dengan rumus (peritem * qc_fee)
3. jika paid sama dengan 1 maka sudah membayar
4. barcode
• 0 : barcode by seller
• 1 : barcode by gudang
• 2 : tanpa barcode

45
ADD INBOUND
Menambah stok baru ke gudang.

URL BASE_URL + “stock/add/inbound”

Method POST JSON

Input {
"account": "account@seller.com",
"email": " account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"items": [
{
"id": "163",
"qty": "1"
},
{
"id": "164",
"qty": "1"
}
],
"gudang": " account@gudang.com"
}
Output {
"result": 200,
"message": "",
"data": null
}
Description

46
UPDATE INBOUND
Update data inbound

URL BASE_URL + “stock/inbound/update”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "27",
"gudang": "theolorenza@gudang.com",
"items": [
{
"id": "163",
"total": "3"
},
{
"id": "164",
"total": "2"
}
]
}
Output {
"result": 200,
"message": "",
"data": null
}
Description

47
PAY BARCODE DAN QC
Jika stok yang ingin dikirim ke gudang tersebut memiliki QC atau label yaitu barcode by
gudang maka seller tersebut harus membayar biaya QC / barcode terlebih dahulu.
URL BASE_URL + “stock/inbound/paid”

Method POST JSON

Input {
"account": "account@seller.com",
"email": " account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "27",
"gudang": " account @gudang.com"
}

Output {
"result": 200,
"message": "",
"data": null
}
Description

48
PRODUCT SENT
Konfirmasi barang sudah dikirim oleh seller dan sedang dalam perjalanan menuju gudang.

URL BASE_URL + “stock/confirmation/sent”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "27",
"gudang": "account@gudang.com"
}

Output {
"result": 200,
"message": "",
"data": null
}
Description

49
BATALKAN INBOUND
Membatalkan inbound yang akan dikirimkan.

URL BASE_URL + “stock/inbound/cancel”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "27",
"gudang": "account@gudang.com"
}

Output {
"result": 200,
"message": "",
"data": null
}
Description

50
CHECK PICKUP PRICE
Mengecek biaya pengiriman barang inbound dari seller ke gudang, dengan menggunakan
jasa pickup lalamove.
URL BASE_URL + “delivery/checkPrice”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token":
"ddSQGmmPDjk:APA91bEfOABryt_PSqJmCVoYRAKLdYGuN5TmoEzaCtiUZ
p_sBG1JE17hpC8rjCsveVvDg_scRxFqo8UTIweb1OYu9ZdVH-
qabzhA8Fi2WRrC0ofXPrUsDy9xevrWsRua53ULZxkufIEJ",
"pending_id": "24",
"pickup_latlon": "-6.1847905,106.6986597",
"pickup_address": "ABCDEF",
"pickup_name": "Seller XYZ",
"pickup_phone": "081320004000",
"pickup_type": "MOTORCYCLE",
"pickup_time": "2019-01-22T10:05:45.00Z",
"pickup_remark": "",
"id": 1
}

Output {
"result": 200,
"message": "",
"data": {
"totalFee": "63250",
"totalFeeCurrency": "IDR"
}
}

51
Description Input:
1. pending_id : ID pending stock
2. pickup_latlon: Latitude,Longitude alamat penjemputan
3. pickup_address: Alamat lengkap penjemputan pickup_name: Nama
PIC tempat penjemputan
4. pickup_phone: No tlp PIC tempat penjemputan
5. pickup_type: Jenis service pickup
• MOTORCYCLE : motor
• MPV : mobil
• VAN : van
6. pickup_time: Waktu penjemputan menggunakan UTC format ISO 8601
contoh : Waktu Lokal: 2019-01-21T17:09:17.022+07:00 UTC: 2019-01-
21T10:09:17.022Z
7. pickup_remark : Catatan kepada driver jika ada

52
REQUEST PICKUP
Order pickup (penjemputan barang dan pengiriman ke gudang) menggunakan pihak delivery
lalamove.

URL BASE_URL + “delivery/requestPickup”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token":
"ddSQGmmPDjk:APA91bEfOABryt_PSqJmCVoYRAKLdYGuN5TmoEzaCtiUZ
p_sBG1JE17hpC8rjCsveVvDg_scRxFqo8UTIweb1OYu9ZdVH-
qabzhA8Fi2WRrC0ofXPrUsDy9xevrWsRua53ULZxkufIEJ",
"pending_id": "24",
"pickup_latlon": "-6.1847905,106.6986597",
"pickup_address": "ABCDEF",
"pickup_name": "Seller XYZ",
"pickup_phone": "081320004000",
"pickup_type": "MOTORCYCLE",
"pickup_time": "2019-01-22T10:05:45.00Z",
"pickup_remark": "",
"pickup_price": "63250",
"id": 1
}

Output {
"result": 200,
"message": "",
"data": {
"customerOrderId":
"3139425a-4e36-3833-3234-0094627eb800",
"orderRef": "34507"
}
}
Description Bisa dilihat di atas (Check Pickup Price)

53
CANCEL PICKUP
Batalkan pickup untuk order (pengiriman stok / inbound) yang belum diambil oleh driver,
atau untuk order yang sudah diambil namun masih dibawah 4menit, dan status masih
ON_GOING.
URL BASE_URL + “delivery/cancelOrder”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token":"ddSQGmmPDjk:APA91bEfOABryt_PS
qJmCVoYRAKLdYGuN5TmoEzaCtiUZ
p_sBG1JE17hpC8rjCsveVvDg_scRxFqo8UTIweb1OYu9ZdVH-
qabzhA8Fi2WRrC0ofXPrUsDy9xevrWsRua53ULZxkufIEJ",
"pending_id": 23
}

Output {
"result": 200,
"message": "",
"status": "{}"
}

Description

54
REQUEST PRINT BARCODE LIST
Mengambil daftar request print barcode oleh gudang.

URL BASE_URL + “owner/getReqBarcode/list”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722"
}

Output {
"result": 200,
"message": "",
"data": [
{
"id": "16",
"seller": "theolorenza@seller.com",
"warehouse": "theolorenza@gudang.com",
"total": "500",
"total_item": "2",
"status": "1",
"created": "2019-08-20 14:04:54",
"name_warehouse": "Gudang 1234 Green Lake 312 no 12"
},
{
"id": "10",
"seller": "theolorenza@seller.com",
"warehouse": "theolorenza@gudang.com",
"total": "1000",
"total_item": "4",
"status": "2",
"created": null,
"name_warehouse": "Gudang 1234 Green Lake 312 no 12"
},
{
"id": "14",
"seller": "theolorenza@seller.com",

55
"warehouse": "theolorenza@gudang.com",
"total": "750",
"total_item": "3",
"status": "2",
"created": null,
"name_warehouse": "Gudang 1234 Green Lake 312 no 12"
},
]
}
Description Output :
1. Status
• 0 : Pending
• 1 : Paid
• 2 : Reject
• 3 : Done

56
DETAIL REQUEST PRINT BARCODE
Mengambil data detail request print barcode label oleh gudang

URL BASE_URL + “owner/getReqBarcode/detail”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
“id” : 16
}

Output {
"result": 200,
"message": "",
"data": {
"id": "17",
"items": [
{
"total": "1",
"id": "16",
"seq": "1000",
"sku": "16801000020004",
"owner": "account@seller.com",
"name": "Barang kami kirimkan dalam kondisi ",
"price": "2000",
"picture":
"theolorenza@seller.com_prd_156593561214.4938_1",
"weight": "0",
"volume": "0",
"created": "2019-03-11 14:45:03",
"status": "0",
"qc_status": "1",
"qc_flag": "2",
"qc_steps": "tes t 123",
"link": "test"
},
{

57
"total": "1",
"id": "97",
"seq": "1000",
"sku": "16801000020005",
"owner": "account@seller.com",
"name": "Utuh , jika ada rusak atau bocor dalam
perjalanan",
"price": "5000",
"picture": "",
"weight": "0",
"volume": "0",
"created": "2019-03-11 14:45:18",
"status": "0",
"qc_status": "1",
"qc_flag": "2",
"qc_steps": "",
"link": null
}
],
"name": "Gudang 1234 Green Lake 312 no 12",
"picture": "pic_Chrysanthemum.jpg",
"warehouse": "theolorenza@gudang.com",
"status": "0"
}
}

Description Output :
1. Jika status sama dengan 0 maka seller harus membayar terlebih dahulu
dengan rumus (peritems * 250)

58
CONFIRM REQUEST PRINT BARCODE
Mengkonfirmasi request print barcode artinya setuju atau tolak print barcode label yang
diminta oleh pihak gudang.
URL BASE_URL + “owner/getReqBarcode/procced”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id": "16",
"action": "true"
}

Output {
"result": 200,
"message": "",
"data": null
}
Description Input :
1. Jika action sama dengan true artinya setuju maka seller harus membayar
barcode tersebut dengan rumus (peritem * 250)
2. Jika action sama dengan false maka print barcode ditolak

59
GET DETAIL WAREHOUSE
Mengambil data detail warehouse

URL BASE_URL + “warehouse/detail/[account_gudang]”+

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
}

Output {
"result": 200,
"data": {
"id": "account@gudang.com",
"name": "Gudang 1234 Green Lake 312 no 12",
"id_card": "ktp_Penguins.jpg",
"picture": "pic_Chrysanthemum.jpg",
"latlon": "5.61598581915534,18.017578125",
"bio": "",
"phone": "0173898566",
"location": "green lake city",
"province": "jakarta barat",
"kecamatan": "kalideres",
"kelurahan": "pengadungan",
"status": "1",
"probation": "2019-07-30 00:00:00",
"role": "1",
"locaiton_verified": false,
"id_verified": true,
"honesty": "1.5",
"performance": "4.4",
"bank": {
"bank_name": "BCA",
"acc_name": "fghgfg",
"acc_number": "34567655"
},
"total_transac": "65",

60
"total_cod": "13",
"announcement": null,
"rate": "3.5",
"rental": "0",
"rental_rate": "7",
"max_rate": 10000,
"delivery_day": "Senin;Selasa;Rabu;Kamis;Jumat",
"delivery_time": "2 kali Sehari",
"service_day": [
{
"id": "112",
"warehouse": "theolorenza@gudang.com",
"day": "Senin",
"from_hour": "09:00",
"to_hour": "17:00"
},
{
"id": "113",
"warehouse": "theolorenza@gudang.com",
"day": "Selasa",
"from_hour": "09:00",
"to_hour": "17:00"
},
{
"id": "114",
"warehouse": "theolorenza@gudang.com",
"day": "Rabu",
"from_hour": "08:00",
"to_hour": "17:00"
},
{
"id": "115",
"warehouse": "theolorenza@gudang.com",
"day": "Kamis",
"from_hour": "08:00",
"to_hour": "17:00"
},
{

61
"id": "116",
"warehouse": "theolorenza@gudang.com",
"day": "Jumat",
"from_hour": "08:00",
"to_hour": "17:00"
}
],
"logistics":
"Desert.jpg;ic_first_logistic.png;ic_gojek.png;ic_grab.png;
ic_jne.png;ic_jnt.png;ic_ninjaxpress.png;ic_pos.png;ic_rex.
png;ic_sicepat.png",
"other_service": "",
"is_active": false,
"holiday": "",
"summaries": [],
"reviews": [
{
"review_by": "theolorenza@seller.com",
"review_user": "theolorenza@gudang.com",
"name": "HH Order",
"photo": "pic_theolorenza@seller.com",
"desc": "Total Outbond 48",
"status": "Progress",
"items": [
{
"review": "coba kedua",
"rate": "0",
"honesty": "2",
"performance": "5",
"periode": "February,2018"
},
{
"review": "test",
"rate": "0",
"honesty": "3",
"performance": "3",
"periode": "March, 2018"
}
]

62
}
],
"is_owned": true,
"gallery": [
"gallery_theolorenza@gudang.com_156454635698.87"
],
"badges": {
"inbound": "7",
"req_barcode": "1",
"request": "1"
},
"toa": "0"
},
"message": ""
}

Description Output :
1. is_owned :
• jika true maka seller ini memiliki gudang tersebut
• jika false maka seller ini tidak memiliki gudang tersebut
2. status :
• 0 : tidak aktif
• 1 : verified
• 2 : probation
• 3 : waiting list

63
DELETE WAREHOUSE
Menghapus gudang yang telah dimiliki seller (memutuskan untuk tidak menggunakan
gudang tersebut)
URL BASE_URL + “owner/closeWarehouse”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"gudang": "account@gudang.com",
}

Output {
"result": 200,
"data": {},
"message": ""
}

Description

64
CHANGE PASSWORD
Menganti password akun pengguna

URL BASE_URL + “users/changePassword”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"old_pass": "abcd123456",
"new_pass": "123"
}

Output {
"result": 200,
"data": {
"id": "8",
"email": "theolorenza@seller.com",
"name": "theo",
"user_id": "theolorenza@seller.com",
"password": "202cb962ac59075b964b07152d234b70",
"gcm": "5667d77b6ae007aa4f3e77e454cc8722",
"phone": "0173898566",
"type": "1",
"active": "1",
"created": "2019-03-08 10:59:14",
"last_login": "2019-03-08 10:59:14",
"fb": "0",
"auth": "",
"fcm_web": null
},
"message": ""
}
Description

65
ADD ACCESS
Menambah akses personil kedalam akun seller

URL BASE_URL + “accounts/teamAdd”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"user": "personilA@gmail.com",
"type": "0"
}

Output {
"result": 200,
"message": "OK",
"data": [
{
"email": "account@seller.com",
"name": "theo",
"id": "8",
"type": "Owner"
},
{
"email": " personilA@gmail.com",
"name": "",
"id": "28",
"type": "View Only"
},
{
"email": "account2@gmail.com",
"name": "",
"id": "31",
"type": "Admin"
}
]
}

66
Description Input :
1. Type :
• 0 : admin
• 1 : viewer

67
DELETE ACCESS
Menghapus access personil seller

URL BASE_URL + “accounts/teamRemove”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"user": personilA@gmail.com
}

Output {
"result": 200,
"message": "",
"data": [
{
"email": "account@seller.com",
"name": "theo",
"id": "8",
"type": "Owner"
},
{
"email": " account2@gmail.com",
"name": "",
"id": "28",
"type": "View Only"
}
]
}
Description

68
UPDATE INFO TOKO
Mengedit data info toko

URL BASE_URL + “owner/updateinfo”

Method POST FORM

Input {
"account": "account@seller.com",
"email": " account @seller.com",
"name": "HH Order",
"phone": "0173898566",
"bio": "",
"cod": 1,
"dropship": 1,
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"is_setup": "1"
}
Output {
"result": 200,
"data": {
"id": "account@seller.com",
"name": "HH Order",
"picture": "pic_account@seller.com",
"location": "",
"latlon": "",
"role": "0",
"bio": "",
"phone": "0173898566",
"is_setup": "1",
"cod": "1",
"dropship": "1",
"announcement": null,
"bank": {
"bank_name": "BCA",
"acc_name": "crewdible",
"acc_number": "889977688"
},
"gudang": [

69
{
"id": "account@gudang.com",
"location": "green lake city rukan cbd",
"province": "jakarta barat",
"kecamatan": "kalideres",
"kelurahan": "pengadungan",
"name": "Gudang 1234 Green Lake 312 no 12",
"phone": "0173898566",
"picture": "pic_Chrysanthemum.jpg",
"latlon": "5.61598581915534,18.017578125",
"rate": "3.8",
"rental_rate": "7",
"dropship": "1",
"max_rate": "900",
"summaries": [],
"status": 4,
"holiday": "",
"contract_status": "0",
"review_period": "",
"barcode": "2",
"pending_inbound": "10"
},
{
"id": "theolorenza2@gudang.com",
"location": "jl test 123 no 12",
"province": "Pahang",
"kecamatan": "34000",
"kelurahan": "pengadungan",
"name": "theo2",
"phone": "0173898566",
"picture": "pic_Tulips.jpg",
"latlon": "11.745539786872575,13.999280455989265",
"rate": "3.5",
"rental_rate": "7",
"dropship": "0",
"max_rate": "10000",
"summaries": [],
"status": 4,

70
"holiday": "",
"contract_status": "0",
"review_period": "",
"barcode": "2",
"pending_inbound": "0"
}
],
"badges": {
"inbound": "16",
"req_barcode": "0"
},
"toa": "1"
},
"message": ""
}
Description Input :
1. cod :
• 0 : tidak aktif mengunakan cod/cop
• 1 : aktif menggunakan cod/cop
2. Dropship :
• 0 : tidak aktif menggunkan dropship
• 1 : aktif mengunakan dropship

71
GET LIST SKU
Mengambil semua daftar sku yang dimiliki oleh seller (bukan daftar produk yang ada
digudang)
URL BASE_URL + “owner/productList”

Method POST JSON

Input {
"account": "account@seller.com",
"email": " account @seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
}

Output {
"result": 200,
"message": "",
"products": [
{
"id": "161",
"seq": "1000",
"sku": "16801000020053",
"owner": "account@seller.com",
"name": "kKk",
"price": "1000",
"picture": "",
"weight": "0",
"volume": "0",
"created": "2019-09-04 13:24:51",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "162",
"seq": "1000",

72
"sku": "16801000020054",
"owner": "account@seller.com",
"name": "testin9",
"price": "12000",
"picture": "",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:16:22",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "163",
"seq": "1000",
"sku": "16801000020055",
"owner": "account@seller.com",
"name": "Kaos Distro Rusa Hitam M",
"price": "150000",
"picture":
"theolorenza@seller.com_prd_1568194622_21",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "164",
"seq": "1000",

73
"sku": "16801000020056",
"owner": "account@seller.com",
"name": "Kaos Distro Rusa Hitam L",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194624_31",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "165",
"seq": "1000",
"sku": "16801000020057",
"owner": "account@seller.com",
"name": "Kaos Distro Rusa Hitam S",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194624_41",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "166",

74
"seq": "1000",
"sku": "16801000020058",
"owner": "account@seller.com",
"name": "Kaos Distro Rusa Hitam XL",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194625_51",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
}
]
}

Description Output :
1. Status :
• 0 : pending
• 1 : verified
• 2 : unverified
2. qc_status :
• 0 : tidak mengunakan QC
• 1 : mengunakan QC
3. Qc_flag :
• 0 : belum aktifkan oleh crewdible
• 1 ; sudah aktifkan oleh crewdible

75
ADD SKU
Menambahkan data sku

URL BASE_URL + “owner/addProduct”

Method POST FORM

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"name": "pena",
"price": "10000"
}

Output {
"result": 200,
"products": [
{
"id": "163",
"seq": "1000",
"sku": "16801000020055",
"owner": "theolorenza@seller.com",
"name": "pena",
"price": "10000",
"picture":
"theolorenza@seller.com_prd_1568194622_21",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "164",

76
"seq": "1000",
"sku": "16801000020056",
"owner": "theolorenza@seller.com",
"name": "Kaos Distro Rusa Hitam L",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194624_31",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "165",
"seq": "1000",
"sku": "16801000020057",
"owner": "theolorenza@seller.com",
"name": "Kaos Distro Rusa Hitam S",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194624_41",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{

77
"id": "166",
"seq": "1000",
"sku": "16801000020058",
"owner": "theolorenza@seller.com",
"name": "Kaos Distro Rusa Hitam XL",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194625_51",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
}
],
"message": ""
}
Description

78
UPDATE SKU
Mengedit data sku

URL BASE_URL + “owner/updateProduct”

Method POST FORM

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"product":
"{\"id\":\"163\",\"name\":\"pena\",\"price\":\"1000\",\"wei
ght\":\"0\",\"volume\":\"0\",\"seq\":\"1000\",\"picture\":\
"\",\"qc_status\":0,\"qc_steps\":\"\"}"
}

Output {
"result": 200,
"products": [
{
"id": "163",
"seq": "1000",
"sku": "16801000020055",
"owner": "theolorenza@seller.com",
"name": "pena",
"price": "1000",
"picture":
"theolorenza@seller.com_prd_1568194622_21",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},

79
{
"id": "164",
"seq": "1000",
"sku": "16801000020056",
"owner": "theolorenza@seller.com",
"name": "Kaos Distro Rusa Hitam L",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194624_31",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
},
{
"id": "165",
"seq": "1000",
"sku": "16801000020057",
"owner": "theolorenza@seller.com",
"name": "Kaos Distro Rusa Hitam S",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194624_41",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null

80
},
{
"id": "166",
"seq": "1000",
"sku": "16801000020058",
"owner": "theolorenza@seller.com",
"name": "Kaos Distro Rusa Hitam XL",
"price": "100000",
"picture":
"theolorenza@seller.com_prd_1568194625_51",
"weight": "0",
"volume": "0",
"created": "2019-09-11 16:37:06",
"status": "0",
"qc_status": "0",
"qc_flag": "0",
"qc_steps": "",
"link": null,
"qcCategory": null,
"qcFee": null
}
],
"message": ""
}
Description

81
DELETE SKU
Menghapus data sku

URL BASE_URL + “product/removeAllProduct”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"ids": "[\"163\",\"166\"]"
}

Output {
"result": 200,
"message": "",
"message_success": "Produk pena berhasil di
delete<br>Produk Kaos Distro Rusa Hitam XL berhasil di
delete<br>"
}
Description Input :
1. Jika param ids tidak ada maka dihapus semua data sku

82
REIMBURSE LIST
Mengambil daftar semua reimburse terhadap gudang

URL BASE_URL + “wallets/history”

Method POST JSON

Input {
"account": "theolorenza@seller.com",
"email": "theolorenza@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"command": "reimburse",
"from": "2019-08-19",
"to": "2019-09-18"
}

Output [
{
"date": "2019-09-18 12:00:25",
"nominal": "Rp 1.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: kasih
tips untuk gudang karena kerja nya bagus"
},
{
"date": "2019-09-18 11:58:09",
"nominal": "Rp 1.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: kasih
tips untuk gudang karena kerja nya bagus"
},
{
"date": "2019-09-16 11:48:54",
"nominal": "Rp 10.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: kirim
reimburse"
},
{
"date": "2019-09-09 17:20:59",
"nominal": "Rp 1.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: test"
},
{

83
"date": "2019-08-19 14:51:51",
"nominal": "Rp 1.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: test
mutasi stock"
},
{
"date": "2019-08-19 14:51:29",
"nominal": "Rp 1.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: test
inbound"
},
{
"date": "2019-08-19 14:51:08",
"nominal": "Rp 1.000",
"desc": "[OUT] Gudang 1234 Green Lake 312 no 12: test
stock"
}
]
Description Input :
1. Jika param from and to tidak ada maka mengambil semua data

84
SENT REIMBURSE
Mengirim uang kepada gudang, dengan memotong dompet seller

URL BASE_URL + “chats/sendMoney”

Method POST JSON

Input {
"message": "kasih tips untuk gudang karena kerja nya
bagus",
"account": "account@seller.com",
"email": " account @seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"chat_from": " account @seller.com",
"chat_to": " account@gudang.com",
"nominal": "1000"
}
Output {
"result": 200,
"message": "<font color='#2fb266'>Duit
Dikirim</font><br/><br/><strong><font color='black'>Anda
mengirimkan anda uang sebesar Rp1,000 kepada Gudang 1234
Green Lake 312 no 12: kasih tips untuk gudang karena kerja
nya bagus.</font></strong><br/>",
"data": null
}
Description Input :
- Jika param ids tidak ada maka dihapus semua data sku

85
HISTORY TRANSAKSI DOMPET
List daftar transaksi keluar masuk dompet

URL BASE_URL + “wallets/history”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"from": "2019-08-19",
"to": "2019-09-18"
}

Output {
"message": "",
"result": 200,
"data": [
{
"id": "687",
"created": "2019-09-18 14:40:37",
"user_id": "account@seller.com",
"nominal": "380",
"balance": "2144780428",
"type": "1",
"transaction_type": "1",
"transaction_id": "Gudang 1234 Green Lake 312 no 12 #
[R][DT]1564634029",
"xid": "",
"transaction_name": null
},
{
"id": "685",
"created": "2019-09-18 14:05:10",
"user_id": "account@seller.com",
"nominal": "76",
"balance": "2144780808",
"type": "1",
"transaction_type": "1",
"transaction_id": "Gudang 1234 Green Lake 312 no 12 #

86
[COD]1568788314",
"xid": "",
"transaction_name": null
},
{
"id": "684",
"created": "2019-09-18 14:05:10",
"user_id": "account@seller.com",
"nominal": "2000",
"balance": "2144780884",
"type": "0",
"transaction_type": "1",
"transaction_id": "Gudang 1234 Green Lake 312 no 12 #
[COD]1568788314",
"xid": "",
"transaction_name": null
},
{
"id": "679",
"created": "2019-09-18 12:00:25",
"user_id": "account@seller.com",
"nominal": "1000",
"balance": "2144778884",
"type": "1",
"transaction_type": "2",
"transaction_id": "Gudang 1234 Green Lake 312 no 12:
kasih tips untuk gudang karena kerja nya bagus",
"xid": "theolorenza@gudang.com",
"transaction_name": null
}
]
}
Description Input :
1. Jika param from and to tidak ada maka mengambil semua data
Output :
1. type
• 1 : nominal yang keluar
• 2 : nominal yang masuk
2. transaction_type
• 1 : Transfer to Escrow

87
• 2 : Give to #
• 3 : Transfer to #

88
HISTORY DEPOSIT
Lihat daftar deposit (topup) yang pernah dilakukan

URL BASE_URL + “banks/history”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
}

Output {
"message": "",
"result": 200,
"data": [
{
"id": "1",
"created": "2019-04-10",
"user_id": "account@seller.com",
"nominal": "2147483647",
"type": "0",
"bank_name": "BCA",
"account_number": "43454545",
"account_name": "andi",
"branch": "",
"fee": "0",
"confirmation_code": "",
"status": "1",
"description": "",
"operate_by": ""
},
{
"id": "3",
"created": "2019-04-10",
"user_id": "account@seller.com",
"nominal": "2147483647",
"type": "0",
"bank_name": "BCA",

89
"account_number": "43454545",
"account_name": "andi",
"branch": "",
"fee": "0",
"confirmation_code": "",
"status": "3",
"description": "",
"operate_by": ""
},
{
"id": "2",
"created": "2019-03-11",
"user_id": "account@seller.com",
"nominal": "1000000189",
"type": "0",
"bank_name": "BCA",
"account_number": "43454545",
"account_name": "andi",
"branch": "",
"fee": "0",
"confirmation_code": "",
"status": "2",
"description": "",
"operate_by": ""
},
{
"id": "4",
"created": "2019-04-10",
"user_id": "account@seller.com",
"nominal": "2147483647",
"type": "0",
"bank_name": "BCA",
"account_number": "43454545",
"account_name": "andi",
"branch": "",
"fee": "0",
"confirmation_code": "",
"status": "0",

90
"description": "",
"operate_by": ""
}
]
}
Description Output :
1. status :
• 0 : Pending
• 1 : Paid
• 2 : Approved
• 3 : Rejected
• 4 : Canceled

91
ADD DEPOSIT (TOPUP)
Menambahkan deposit (topup) ke dalam dompet

URL BASE_URL + “banks/transfer”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"acc_name": "theo",
"acc_number": "43454545",
"bank_name": "BCA",
"branch": "",
"total": "20000"
}
Output {
"message": "",
"result": 200
}
Description

92
CONFIRM SUDAH TRANSFER
Konfirmasi bahwa topup yang dilakukan sudah ditransfer. Lakukan konfirmasi ini setelah
uang benar-benar ditransfer ke rekening Crewdible, untuk mendapatkan response yang
cepat.
URL BASE_URL + “banks/transferConfirmation”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"message ": "saya sudah transfer mohon dicek",
"id ": 4
}

Output {
"message": "",
"result": 200
}
Description

93
BATALKAN TOPUP
Membatalkan deposit (topup)

URL BASE_URL + “banks/transferCanceled”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"id ": 4
}

Output {
"message": "",
"result": 200
}
Description

94
HISTORY WITHDRAW
Lihat daftar penarikan uang dari dompet

URL BASE_URL + “banks/history/out”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
}

Output {
"result": 200,
"message": "",
"data": [
{
"id": "29",
"created": "2019-07-15",
"user_id": "theolorenza@seller.com",
"nominal": "100000",
"type": "1",
"bank_name": "BCA",
"account_number": "234567",
"account_name": "wfdsff",
"branch": "",
"fee": "0",
"confirmation_code": "7s4g4r8llr",
"status": "0",
"description": "",
"operate_by": ""
},
{
"id": "22",
"created": "2019-06-17",
"user_id": "theolorenza@seller.com",
"nominal": "7899000",
"type": "1",
"bank_name": "BCA",

95
"account_number": "234567",
"account_name": "wfdsff",
"branch": "",
"fee": "0",
"confirmation_code": "65byzohhld",
"status": "0",
"description": "",
"operate_by": ""
},
{
"id": "16",
"created": "2019-04-15",
"user_id": "theolorenza@seller.com",
"nominal": "20000",
"type": "1",
"bank_name": "BCA",
"account_number": "234567",
"account_name": "wfdsff",
"branch": "",
"fee": "0",
"confirmation_code": "tzmfl39o13",
"status": "0",
"description": "",
"operate_by": ""
}
]
}
Description Output :
1. status :
• 0 : Menunggu konfirmasi
• 1 : Sudah konfirmasi
• 2 : Sudah ditransfer
• 3 : Dibatalkan oleh sistem
• 4 : Dibatalkan oleh user

96
PENARIKAN UANG
Penarikan uang dari dompet ke rekening bank

URL BASE_URL + “wallets/withdraw”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"acc_name": "theo",
"acc_number": "234567",
"bank_name": "BCA",
"nominal": "20000",
"transfer_fee": "0"
}
Output {
"message": "",
"result": 200
}
Description

97
HISTORY ESCROW
Lihat daftar escrow

URL BASE_URL + “escrows/history”

Method POST JSON

Input {
"account": "account@seller.com",
"email": "account@seller.com",
"token": "5667d77b6ae007aa4f3e77e454cc8722",
"from": "2019-08-19",
"to": "2019-09-18"
}

Output {
"result": 200,
"message": "",
"data": [
{
"id": "753",
"created": "2019-09-18",
"nominal": "380",
"balance": "1541029",
"escrow_id": "account@gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "2",
"source": "0",
"worklog_id": "22"
},
{
"id": "750",
"created": "2019-09-18",
"nominal": "380",
"balance": "1541029",
"escrow_id": " account @gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",
"worklog_id": "22"

98
},
{
"id": "748",
"created": "2019-09-18",
"nominal": "2500",
"balance": "1540649",
"escrow_id": " account @gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "1",
"source": "0",
"worklog_id": "161"
},
{
"id": "746",
"created": "2019-09-18",
"nominal": "38",
"balance": "1543149",
"escrow_id": " account @gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "1",
"source": "0",
"worklog_id": "120"
},
{
"id": "744",
"created": "2019-09-18",
"nominal": "0",
"balance": "1543187",
"escrow_id": " account @gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",
"worklog_id": "163"
},
{
"id": "742",
"created": "2019-09-18",
"nominal": "1800",

99
"balance": "1543187",
"escrow_id": " account@gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",
"worklog_id": "96"
},
{
"id": "740",
"created": "2019-09-18",
"nominal": "0",
"balance": "1541387",
"escrow_id": " account@gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",
"worklog_id": "162"
},
{
"id": "738",
"created": "2019-09-18",
"nominal": "85",
"balance": "1541387",
"escrow_id": "theolorenza@gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",
"worklog_id": "116"
},
{
"id": "736",
"created": "2019-09-18",
"nominal": "2500",
"balance": "1541302",
"escrow_id": " account@gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",

100
"worklog_id": "120"
},
{
"id": "734",
"created": "2019-09-18",
"nominal": "0",
"balance": "1538802",
"escrow_id": " account @gudang.com",
"escrow_name": "Gudang 1234 Green Lake 312 no 12",
"status": "0",
"source": "0",
"worklog_id": "161"
}
],
"balance": "1538802"
}
Description Input :
1. Jika param from and to tidak ada maka mengambil semua data

Output :
1. Status
• 0 : pending
• 1 : release
• 2 : decline

101

Anda mungkin juga menyukai