Skip to main content

API Contact KOMPACK (1.0.0)

Download OpenAPI specification:Download

This is an Api Contract for Kompack project. use Token and application id to consumes endpoint. Role Mitra 6, Role Partner

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer

Partner-Auth

Everything about Authentikasi in Partner

Admin-Mitra Gudang

Everything about Partner Warehouse in Admin

List warehouse

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

WAREHOUSE - GET PROFILE

query Parameters
email
string

Responses

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "code": 200,
  • "data": {}
}

WAREHOUSE - GET PROFILE

query Parameters
user_id
integer
Example: user_id=2802

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Add a new warehouse to the store

Request Body schema: multipart/form-data
name
string
description
string
pic_name
string
pic_phone
integer
destination_id
integer
detail_address
string
avability
integer
ownership
integer
building_type
integer
building_area
integer
email
string
username
string
owner
string
phone_number
integer
nik
integer
gender
string
image_logo
string <binary>
image_ktp_url
string <binary>
image_warehouse[]
string <binary>
image_warehouse
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "warehouse has ben store successfully"
}

Get data warehouse by partner warehouse id

path Parameters
mitra_id
required
integer <int64>

ID of partner warehouse to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Add a new warehouse to the store

Request Body schema: multipart/form-data
id
integer
user_id
integer
email
string
username
string
owner
string
gender
string
Enum: "L" "P"
phone_number
string
nik
string
image_ktp_url
string <binary>
warehouse_id
integer
image_logo
string <binary>
name
string
avability
integer
pic_name
string
pic_phone
string
description
string
image_warehouse_insert
Array of strings <binary>
image_warehouse_delete
Array of strings
destination_id
integer
detail_addres
string
building_area
integer
building_type
integer
ownership
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "warehouse has ben update successfully"
}

verification Partner Warehouse

query Parameters
mitra_id
required
integer <int64>

ID of mitra warehouse to return

is_verification
required
integer
Example: is_verification=2

type of verification 1 Belum Diverifikasi 2 Sudah Diverifikasi

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "Partner Warehouse Success verification"
}

verification Warehouse

query Parameters
id_warehouse
required
integer <int64>

ID of warehouse to return

is_verification
required
integer
Example: is_verification=2

type of verification 1 Bemul Diverifikasi 2 Sudah Diverifikasi

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "Warehouse Success verification"
}

Update Service Warehouse

query Parameters
mitra_id
required
integer <int64>

ID of Partner Warehouse Id to return

type_service
required
string
Enum: "Aktif" "Nonaktif"

type of service Aktif, Nonaktif

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "Warehouse Success Activate Service Warehouse"
}

Information about warehouse

path Parameters
mitra_id
required
integer <int64>

ID of Partner Warehouse to return

Responses

Response samples

Content type
application/json
{
  • "id": 1,
  • "owner": "Budi Darmanto",
  • "phone_number": "0812210123456",
  • "partner_verification": "Belum Terverifikasi",
  • "image_logo_url": "assets/image/logo_image.jpg",
  • "warehouse_name": "Gudang Budi Darmanto",
  • "subscribe_status": 1,
  • "submission_pending": 0,
  • "availability": "Tersedia",
  • "city_name": "Tanggerang Selatan",
  • "pic_phone": "0812210123456",
  • "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
  • "detail_addres": "Jl. Hr. Bonyamin No. 03",
  • "total_order": 20,
  • "join_date": "2022-02-22",
  • "image_warehouse": [
    ]
}

Admin-Pengajuan

Everything about Submission in Admin

List submission

query Parameters
start_date
string
end_date
string
submission_type
integer

1=Berlangganan, 2=Tambah Produk

submission_status
integer

0=Diajukan, 1=Disetujui, 2=Ditolak

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Information about submission

path Parameters
submission_id
required
integer <int64>

ID of Submission to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Approve Submission

Request Body schema: application/json
submission_id
integer
Array of objects (apiv1warehousesubmissionapproved_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "submission_id": 1,
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "approved successfully"
}

Reject Submission

path Parameters
submission_id
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "reject successfully"
}

Admin-Fulfilment Service

Everything about Fulfilment in Admin

List Fulfilment

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

List partner fulfillment

path Parameters
warehouse_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

List product partner fulfillment

query Parameters
partner_id
required
integer
warehouse_id
required
integer
offset
integer
limits
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Update product partner fulfillment

Request Body schema: application/json
partner_id
integer
warehouse_id
integer
Array of objects (apiv1warehousefulfillmentproductupdate_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "partner_id": 1,
  • "warehouse_id": 1,
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfuly update fulfilment"
}

Admin-Keuangan

Everything about Finance in Admin

balance

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

List Partner Warehouse

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

List Withdrawl Partner Warehouse

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Detail Withdrawl

path Parameters
withdrawl_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Update Withdrawl

path Parameters
withdrawl_id
required
integer
query Parameters
status
required
string
Enum: "canceled" "on_review" "completed" "rejected"
notes
required
integer
transfer_proof
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "succesfuly update withdrawl"
}

Komship-Gudangku

Everything about Partner Warehouse in Komship

List warehouse

query Parameters
limit
required
integer
offset
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Add a new warehouse to the store

Request Body schema: application/json
object (WarehouseKomshipStore)
Array of objects (apiv1komshipwarehousestore_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "warehouse": {
    },
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "warehouse has ben store successfully"
}

list product to store data warehouse

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Detail about partner warehouse

path Parameters
mitra_id
required
integer <int64>

ID of mitra to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Set main Warehouse

path Parameters
mitra_id
required
integer <int64>

ID of mitra to return

Request Body schema: application/json
is_default
integer

Responses

Request samples

Content type
application/json
{
  • "is_default": 1
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully set default warehouse"
}

detail warehouse

path Parameters
warehouse_id
required
integer <int64>

ID of Warehouse to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Update warehouse

Request Body schema: application/json
object (apiv1komshipwarehouseupdate_warehouse)
Array of objects (apiv1komshipwarehouseupdate_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "warehouse": {
    },
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "warehouse has ben update successfully"
}

search warehouse

query Parameters
search
string
Example: search=Gudang Pak Budi
sort
string
Example: sort=ASC / DESC
city_name
string
Example: city_name=Purbalingga
status
integer
Example: status=1

Blank untuk semua, 1 = Tersedia, 0 = Penuh

limit
integer
Example: limit=50
offset
integer
Example: offset=50

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Information about warehouse

path Parameters
mitra_id
required
integer <int64>

ID of Mitra Warehouse to return

Responses

Response samples

Content type
application/json
{
  • "id": 1,
  • "owner": "Budi Darmanto",
  • "phone_number": "0812210123456",
  • "partner_verification": "Belum Terverifikasi",
  • "image_logo_url": "assets/image/logo_image.jpg",
  • "warehouse_name": "Gudang Budi Darmanto",
  • "subscribe_status": 1,
  • "submission_pending": 0,
  • "availability": "Tersedia",
  • "city_name": "Tanggerang Selatan",
  • "pic_phone": "0812210123456",
  • "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
  • "detail_addres": "Jl. Hr. Bonyamin No. 03",
  • "total_order": 20,
  • "join_date": "2022-02-22",
  • "image_warehouse": [
    ]
}

Information about warehouse

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Komship-Ajukan Berlangganan

Everything about Submission in Komship

reviews warehouse

query Parameters
warehouse_id
required
string

ID of Mitra Warehouse to return

limits
integer
offset
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

count products

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

store data submission

Request Body schema: application/json
partner_id
integer
warehouse_id
integer
submission_type
integer
Array of objects (apiv1komshipsubmission_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "partner_id": 1,
  • "warehouse_id": 2,
  • "submission_type": 1,
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "reviews has ben store successfully"
}

Komship-Inbound

Everything about Inbound in Komship

list data inbound

query Parameters
warehouse_id
integer
start_date
string
end_date
string
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

store data inbound

Request Body schema: application/json
send_from
integer
send_to
integer
address_sender
string
shipping_type
integer
shipping_date
string
estimate_date
string
shipping
string
no_resi
string
Array of objects (apiv1komshipinboundstore_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "send_from": 2,
  • "send_to": 3,
  • "address_sender": "Karangmoncol, Purbalingga, Jawa Tengah",
  • "shipping_type": 2,
  • "shipping_date": "2022-02-12",
  • "estimate_date": "2022-02-15",
  • "shipping": "JNE",
  • "no_resi": "08654158",
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "inbound has ben store successfully"
}

list Shipping

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list product to store data inbound

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list product to store data inbound

path Parameters
warehouse_id
required
integer

ID of warehouse to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

detail inbound

query Parameters
inbound_id
required
integer
Example: inbound_id=1

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ],
  • "history_shipping": [
    ]
}

update data inbound

Request Body schema: application/json
inbound_id
integer
Array of objects (apiv1komshipinboundupdate_product) [ items ]

Responses

Request samples

Content type
application/json
{
  • "inbound_id": 30,
  • "product": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "inbound has ben update successfully"
}

cancel data inbound

path Parameters
inbound_id
required
integer

ID of inbound to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "inbound data succesfully canceled"
}

Kompack-Gudang

Everything about Partner Warehouse in Kompack

Information about warehouse in kompack

Responses

Response samples

Content type
application/json
{
  • "id": 1,
  • "owner": "Budi Darmanto",
  • "phone_number": "0812210123456",
  • "partner_verification": "Belum Terverifikasi",
  • "image_logo_url": "assets/image/logo_image.jpg",
  • "warehouse_name": "Gudang Budi Darmanto",
  • "subscribe_status": 1,
  • "submission_pending": 0,
  • "availability": "Tersedia",
  • "city_name": "Tanggerang Selatan",
  • "pic_phone": "0812210123456",
  • "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
  • "detail_addres": "Jl. Hr. Bonyamin No. 03",
  • "total_order": 20,
  • "join_date": "2022-02-22",
  • "image_warehouse": [
    ]
}

Get data warehouse

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Update warehouse

Request Body schema: multipart/form-data
id
integer
user_id
integer
email
string
username
string
owner
string
gender
string
Enum: "L" "P"
phone_number
string
nik
string
image_ktp_url
string <binary>
warehouse_id
integer
image_logo
string <binary>
name
string
avability
integer
pic_name
string
pic_phone
string
description
string
image_warehouse_insert
Array of strings <binary>
image_warehouse_delete
Array of strings
destination_id
integer
detail_addres
string
building_area
integer
building_type
integer
ownership
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "warehouse has ben update successfully"
}

List partner

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Stock Product Partner in warehouse

path Parameters
partner_id
required
integer <int64>

ID of Partner to return

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Kompack-Inbound

Everything about Inbound in Kompack

list data inbound

query Parameters
partner_id
integer
offset
integer
limit
integer
status
integer

1 = diproses, 2 = selesai, 3 = batal

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data inbound

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

detail inbound

path Parameters
inbound_id
required
integer
Example: 1

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ],
  • "history_shipping": [
    ]
}

confirmation inbound

path Parameters
inbound_id
required
integer
Example: 1

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "success confirmation inbound"
}

Kompack-Outbound

Everything about Outbound in Kompack

list data Outbound

query Parameters
start_date
string
end_date
string
limit
integer

default: 50

offset
integer

default: 5

partner_id
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data Outbound

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Detail Outbound

path Parameters
packing_id
required
integer
Example: 1

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Detail Order Outbound

path Parameters
packing_id
required
integer
Example: 1
query Parameters
limit
required
integer
Example: limit=50
offset
required
integer
Example: offset=0
shipping
string
Example: shipping=SICEPAT

JNE, SICEPAT, IDEXPRESS, BLANK FOR ALL

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

print label Outbound

query Parameters
order_id
required
integer

Multiple Order ID, Sparate With ","

page
required
integer

Page Type | Available : page_1 = 1 label/hal, page_2 = 2 label/hal, page_4 = 4 label/hal, page_5 = 10x10, page_6 = 10x15

print_date
required
integer
Example: print_date=1

add on date on print lable, 1 = add , 0 = without date

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

print inbound

Request Body schema: application/json
detail_packing_id
integer

Responses

Request samples

Content type
application/json
{
  • "detail_packing_id": 0
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "success update print"
}

Kompack-Keuangan

Everything about Finance in Kompack

balance

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

balance

query Parameters
start_date
required
string
Example: start_date=2021-01-01
end_date
required
string
Example: end_date=2021-01-30
name
string
Example: name=Pstore
total_per_page
integer
Example: total_per_page=20
page
integer
Example: page=2

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Detail balance History

query Parameters
balance_history_id
required
integer
Example: balance_history_id=110

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Detail balance History

query Parameters
balance_history_id
required
integer
Example: balance_history_id=110
date
string
Example: date=2021-01-30
offset
required
integer
limits
required
integer
Example: limits=50

Responses

Response samples

Content type
application/json
{}

Check Possibility WD

query Parameters
withdrawal_request_nominal
required
string
Example: withdrawal_request_nominal=230001023

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Check Possibility WD

Request Body schema: multipart/form-data
bank_name
string
bank_no
integer
bank_owner_name
string
nominal
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Succesfulli Sent WD Request"
}

balance

query Parameters
page
integer
limit
integer
start_date
string
end_date
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

balance

query Parameters
start_date
required
string
end_date
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Unauthorized"
}

Verify Pin

query Parameters
pin
required
string
Example: pin=A123

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": "Appropriate Pin"
}

get withdraw detail

path Parameters
withdrawal_id
required
integer

Responses

get withdraw detail transaction

path Parameters
user_id
required
integer
query Parameters
withdrawal_id
required
integer
page
required
integer
total_per_page
required
integer

Responses

Kompack-Settings

Everything about Settings in Kompack

REKENING - DELETE

path Parameters
id
required
integer <int64>

ID of rekening

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully delete rekening data"
}

Get data Bank Account

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Store data Bank Account

query Parameters
user_id
integer
Example: user_id=2802
bank_name
string
Example: bank_name=BANK RAKYAT INDONESIA
bank_owner_name
string
Example: bank_owner_name=CONDRO WIBOWO
bank_no
integer
Example: bank_no=882873012

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfuly store data bank account"
}

Update data Bank Account

query Parameters
id
integer
Example: id=2519
user_id
integer
Example: user_id=2797
bank_name
string
Example: bank_name=MANDIRI
bank_owner_name
string
Example: bank_owner_name=UMAM U MILD
bank_no
integer
Example: bank_no=882873012

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfuly store data bank account"
}

Store Pin

query Parameters
user_id
integer
Example: user_id=2797
pin
integer
Example: pin=666666
pin_confirm
integer
Example: pin_confirm=666666

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "success store new pin"
}

Update Pin

query Parameters
user_id
integer
Example: user_id=2797
pin
integer
Example: pin=123456
pin_confirm
integer
Example: pin_confirm=123456
pin_last
integer
Example: pin_last=666666

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Appropriate Pin"
}

Verify Pin

query Parameters
user_id
integer
Example: user_id=2797
pin
integer
Example: pin=170780

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Verify Pin

query Parameters
user_id
integer
Example: user_id=2797
pin
integer
Example: pin=170780
pin_confirm
integer
Example: pin_confirm=170780

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfuly update new pin"
}

Mitra Profile Setting

query Parameters
user_id
integer
Example: user_id=2802

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Mitra Profile Warehouse Update Setting

Request Body schema: multipart/form-data
id_warehouse
integer
name
string
pic_name
string
pic_phone
integer
avabililty
integer
description
string
image_logo
string <binary>
image_warehouse_insert[]
string <binary>
image_warehouse_delete
string <binary>

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfuly update profile"
}

Get data List Partner

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Select-Option

Everything about Select Option

Get data Option

path Parameters
type
required
string
Example: building / ownership / packing

can be building/ownerwhip/packing

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

SELECT DESTINATION OPTION

Responses

Partner-Auth [Komship Dev]

Login

Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "username_email": "[email protected]",
  • "password": "12345678aB!",
  • "login_from": "website",
  • "fcm_token": "fMFJVmT_vCk:APA91bEwLh3_5dGKDFJI9M4ISZrqD9sOuN_mtYKxj85ZyaLaxo1sBIi9Iq8X5ZUieX5GyGDfkl_woikKVfJCp5j-U7MxNWDE5GlNg8E3IpnsP7GQARlsbcMsLmiM9eMD5xXYTSGXUUKS"
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": {
    }
}

Register partner

Request Body schema: multipart/form-data
email
string
password
string
password_confirmation
string
full_name
string
no_hp
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Register successfully"
}

Register partner

Request Body schema: multipart/form-data
email
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Successfully send email verification",
}

Register With Existing Email

Request Body schema: multipart/form-data
email
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Register successfully"
}

check email existing

query Parameters
email
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Email dapat digunakan"
}

Mitra-Auth [Dev Kompack]

PASSWORD - UPDATE

Request Body schema: application/x-www-form-urlencoded
user_id
integer
password
string
password_confirm
string
password_last
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Successfully Update Password KompacK."
}

PASSWORD - RESET

query Parameters
code
string
password
integer
Example: password=3328051509010005

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Successfully Update Password KompacK."
}

Mitra-Global API

List shipping

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Komship-Riwayat Pengajuan

get data subscribe submission

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

get data add-product submission

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

get data detail submission

path Parameters
submission_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

OTP-SMS

SMS - SEND OTP

query Parameters
phone_number
integer
Example: phone_number=6285939438777
session
string
Example: session=rekening

Page PIN = pin , Page Rekening = rekening

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully send otp to SMS!",
  • "data": {
    }
}

SMS - VERIFY OTP

query Parameters
otp
integer
Example: otp=888872
session
string
Example: session=pin

Page PIN = pin , Page Rekening = rekening

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "Successfully Verification OTP."
}

Dashboard - Mitra

get data balance

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

get data Withdraw List

query Parameters
user_id
required
integer
page
integer
limit
integer
start_date
string
end_date
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

Export Withdraw List

query Parameters
user_id
required
integer
start_date
string
end_date
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": 0
}

Komship-Outbound

store data outbound

Request Body schema: application/json
partner_id
integer
warehouse_id
integer
fulfillment_fee
integer
Array of objects (apiv1komshipoutboundstore_products) [ items ]

Responses

Request samples

Content type
application/json
{
  • "partner_id": 123,
  • "warehouse_id": 97,
  • "fulfillment_fee": 29000,
  • "products": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "outbound submission has ben store successfully",
  • "data": [
    ]
}

list data outbound

query Parameters
warehouse_id
integer
status
string

Diajukan | Diproses | Selesai | Ditolak

start_date
string
end_date
string
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound detail outbound

path Parameters
outbound_id
required
integer
query Parameters
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound witing response

query Parameters
warehouse_id
integer
start_date
string
end_date
string
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound product each warehouse

path Parameters
warehouse_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound warehouses that are already subscribed, can used as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound approve outbound

path Parameters
outbound_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully approved"
}

list data outbound reject outbound

path Parameters
outbound_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully rejected"
}

Kompack-Outbound-Non-Pickup

store data outbound non pickup

Request Body schema: application/json
partner_id
integer
Array of objects (apiv1komshipoutboundstore_products) [ items ]

Responses

Request samples

Content type
application/json
{
  • "partner_id": 123,
  • "products": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "outbound submission has ben store successfully",
  • "data": [
    ]
}

list data outbound non pickup

query Parameters
partner_id
integer
status
string

Diajukan | Diproses | Selesai | Batal | Ditolak | Blank For All

start_date
string
end_date
string
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound non pickup detail outbound

path Parameters
outbound_id
required
integer
query Parameters
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound non pickup waiting response

query Parameters
partner_id
integer
start_date
string
end_date
string
offset
integer
limit
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound partner that are already subscribed, can used as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound pproduct by partner

path Parameters
partner_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

list data outbound non pickup approve outbound

path Parameters
outbound_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully approved"
}

list data outbound non pickup Reject outbound

path Parameters
outbound_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "message": "successfully reject"
}

Admin - Pencairan

get data Withdraw Mitra List

Hit Komtim

query Parameters
total_per_page
integer
search
string
status
string
Example: status=requested, on_process, on_review, rejected, completed
page
integer
start_date
string
end_date
string

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": [
    ]
}

get withdraw detail

path Parameters
withdrawal_id
required
integer

Responses

get withdraw detail transaction

path Parameters
user_id
required
integer
query Parameters
withdrawal_id
required
integer
page
required
integer
total_per_page
required
integer

Responses

get data requested total wd

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "data": 480000
}

Kompack-Dashboard

dashboardBalance

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "code": 200,
  • "messages": "Success get summary balance",
  • "data": [
    ]
}