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
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "image_logo_url": "kompact/logo.jpg",
- "name": "Gudang Komship",
- "addres": "Tanggerang Selatan, Banten",
- "owner": "Budi Darmasto",
- "phone_number": "0812210123456",
- "is_verification": 0,
- "status": "Aktif",
- "total_partner": 20
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "partner_warehouses": {
- "id": 51,
- "user_id": 0,
- "username": "cruzher.wild",
- "owner": "mas mbeng",
- "gender": "Laki-Laki",
- "phone_number": "085748612342",
- "nik": "3328051509010004",
- "image_ktp_url": "http://dev.komtim.komerce.my.id/storage/kompack_image_ktp/1664768725-WhatsApp Image 2022-09-14 at 11.28.34 AM.jpeg",
- "mitra_type_id": "Warehouse"
}, - "warehouse": {
- "id": 7,
- "mitra_id": 51,
- "name": "Komerce Gudang",
- "description": "lorem ipsum dolor sitamit",
- "pic_name": "mas mbeng",
- "pic_phone": "085748612342",
- "detail_address": "Jl. sama aku nikah sama dia",
- "image_logo_url": "https://dev.kompack.komerce.my.id/warehouse_logo/1664768725.WhatsApp Image 2022-09-14 at 11.28.34 AM (1).jpeg",
- "image_ktp_url": "http://dev.komtim.komerce.my.id/storage/kompack_image_ktp/1664768725-WhatsApp Image 2022-09-14 at 11.28.34 AM.jpeg",
- "avability": 1,
- "ownership": 5,
- "building_type": 1,
- "building_area": 502,
- "join_date": "2022-10-03 10:45:25",
- "is_verifikasi": 0,
- "warehouse_type": 1,
- "created_at": "2022-10-03 10:45:22",
- "updated_at": "2022-10-03 10:45:25"
}, - "image_warehouse": {
- "id": 7,
- "warehouse_id": 51,
- "image_url": "https://dev.kompack.komerce.my.id/warehouse_logo/1664768725.WhatsApp Image 2022-09-14 at 11.28.34 AM (1).jpeg",
- "created_at": "2022-10-03 10:45:22",
- "updated_at": "2022-10-03 10:45:25"
}
}
}
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 |
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
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "partner_warehouse": {
- "id": 1,
- "user_id": 1,
- "username": "budidarmasto",
- "owner": "Budi Darmasto",
- "phone_number": "0812210123456",
- "gender": "L",
- "nik": "3303131808980001",
- "image_ktp_url": "string",
- "partner_verification": 1,
- "service_status": "nonaktif",
- "warehouse_id": 1,
- "image_logo_url": "string",
- "warehouse_name": "Gudang Budi Darmasto",
- "avability": 1,
- "pic_name": "Anak Budi",
- "pic_phone": "0812210123456",
- "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
- "destination_id": 1,
- "detail_addres": "Jl. Hr. Bonyamin No. 03",
- "building_area": 200,
- "building_type": 2,
- "ownership": 1,
- "warehouse_verification": 1,
- "image_warehouse": [
- {
- "id": 1,
- "image_url": "assets/image/front_image.jpg"
}
]
}
}
}
Add a new warehouse to the store
Request Body schema: multipart/form-data
id | integer |
user_id | integer |
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
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "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": [
- {
- "id": 1,
- "image_url": "assets/image/front_image.jpg"
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "submission_date": "2022-10-14 00:00:00",
- "submission_type": "Berlangganan",
- "warehouse_name": "Gudang Putra Jaya",
- "warehouse_logo_url": "kompack/logo.jpg",
- "warehouse_city": "Tanggerang Selatan",
- "partner_name": "PsStore",
- "partner_logo_url": "kompack/logo.jpg",
- "partner_city": "Purbalingga",
- "status": "Disetujui"
}
]
}
Information about submission
path Parameters
submission_id required | integer <int64> ID of Submission to return |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "submission_date": "2022-10-14 00:00:00",
- "submission_type": "Berlangganan",
- "warehouse_avability": "Penuh",
- "warehouse_name": "Gudang Putra Jaya",
- "warehouse_logo_url": "kompack/logo.jpg",
- "warehouse_city": "Tanggerang Selatan",
- "warehouse_owner": "Budi Darmanto",
- "warehouse_verification": "Terverifikasi",
- "warehouse_submission_date": "12/10/2021",
- "wareouse_phone": "08123456789",
- "partner_name": "PsStore",
- "partner_logo_url": "kompack/logo.jpg",
- "partner_city": "Purbalingga",
- "partner_owner": "Faisal",
- "partner_business_sector": "Fashion",
- "partner_business_type": "Reseler",
- "partner_phone": "08123456789",
- "status": "Diajukan",
- "product_total": 8,
- "product": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "kategori": "Fashion, Muslim",
- "product_height": 127,
- "product_length": 50,
- "product_width": 100,
- "range_price": "Rp 20.000 - Rp. 40.000",
- "fulfilment_cost": 2000,
- "packing_detail": [
- {
- "product_warehouse_id": 1,
- "packing_detail_id": 4,
- "id_packing": 6,
- "packing_material": "Plastik HD"
}
]
}
]
}
]
}
Approve Submission
Request Body schema: application/json
submission_id | integer |
Array of objects (apiv1warehousesubmissionapproved_product) [ items ] |
Responses
Request samples
- Payload
{- "submission_id": 1,
- "product": [
- {
- "detail_id": 1,
- "packing_material": 0,
- "fulfillment_cost": 30000
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": "approved successfully"
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "name": "Gudang Putra Jaya",
- "detail_address": "Jl. sama aku nikah sama dia",
- "city_name": "Tangerang Selatan",
- "image_logo_url": "kompack/logo.jpg",
- "active_date": "2021-09-02 19:00:00",
- "owner": "Budi Darmanto",
- "avability": "Tersedia",
- "is_verification": "Terverifikasi",
- "phone_number": "08123456789"
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "submission_date": "12/10/2021",
- "name": "PsStore",
- "image_logo_url": "kompack/logo.jpg",
- "city": "Purbalingga",
- "owner": "faisal",
- "phone_number": "0812345678",
- "product_total": 9,
- "submission_type": "Berlangganan"
}
]
}
List product partner fulfillment
query Parameters
partner_id required | integer |
warehouse_id required | integer |
offset | integer |
limits | integer |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_variant": "true",
- "stock": 20,
- "sold": 10,
- "fulfillment_cost": 2000,
- "income": 30000,
- "variant": [
- {
- "variant_id": 1,
- "varian_name": "Merah, L",
- "variant_stock": 100,
- "variant_sold": 32,
- "income": 20000
}
], - "packing_detail": [
- {
- "product_warehouse_id": 1,
- "packing_detail_id": 4,
- "id_packing": 6,
- "packing_material": "Plastik HD"
}
]
}
]
}
Update product partner fulfillment
Request Body schema: application/json
partner_id | integer |
warehouse_id | integer |
Array of objects (apiv1warehousefulfillmentproductupdate_product) [ items ] |
Responses
Request samples
- Payload
{- "partner_id": 1,
- "warehouse_id": 1,
- "product": [
- {
- "product_id": 1,
- "fulfillment_cost": 100
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "successfuly update fulfilment"
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "warehouse_id": 1,
- "warehouse_name": "Gudang Pelita Jaya",
- "warehouse_owner": "Budi",
- "warehouse_city": "Tanggerang Selatan, Banten",
- "omset": 200000,
- "profit": 50000,
- "balance": 20000
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "withdrawl_id": 1,
- "withdrawl_date": "2022-02-02 14:00",
- "bank_name": "mandiri",
- "bank_account_no": "86558186",
- "bank_account_name": "Budi",
- "total_balance": 10000000,
- "beginning_balance": 5000000,
- "current_balance": 4000000,
- "withdrawal_nominal": 1000000,
- "withdrawl_status": "requested",
- "notes": "Transfer Dong",
- "transfer_proof": "kompack/image.jpg",
- "partner_name": "PsStore",
- "orders": [
- {
- "id": 1,
- "order_date": "2022-02-02 15:00",
- "total": 20000,
- "balance": 2000000
}
]
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "succesfuly update withdrawl"
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "mitra_id": 1,
- "image_logo_url": "kompact/logo.jpg",
- "name": "Gudang Komship",
- "pic_name": "Candra",
- "city": "Tanggerang Selatan",
- "product_total": 8,
- "is_default": 1,
- "warehouse_type": "Gudang Pribadi"
}
]
}
Add a new warehouse to the store
Request Body schema: application/json
object (WarehouseKomshipStore) | |
Array of objects (apiv1komshipwarehousestore_product) [ items ] |
Responses
Request samples
- Payload
{- "warehouse": {
- "name": "Gudang Budi Darmasto",
- "destination_id": 1,
- "origin_code": "CGK10000",
- "detail_addres": "Jl. Hr. Bonyamin No. 03 rapi",
- "pic_name": "Anak Budi",
- "pic_phone": "0812210123456"
}, - "product": [
- {
- "product_id": 1,
- "is_variant": "true",
- "product_total": "10",
- "variant": [
- {
- "option_id": 10,
- "product_total": 5
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "warehouse has ben store successfully"
}
Response samples
- 200
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_varian": "true",
- "variasi": [
- {
- "option_id": 1,
- "varian_name": "Merah, L"
}
]
}
]
}
Detail about partner warehouse
path Parameters
mitra_id required | integer <int64> ID of mitra to return |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "id": 1,
- "image_logo_url": "kompact/logo.jpg",
- "name": "Gudang Komship",
- "addres": "Tanggerang Selatan, Banten",
- "phone_number": "812210123456",
- "owner": "Budi Darmasto",
- "is_verification": "terverifikasi",
- "status": "Berlangganan sejak 01/10/2021",
- "product": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_variant": "true",
- "stock": 0,
- "sold": 0,
- "fulfilment_cost": 2000,
- "variant": [
- {
- "option_id": 1,
- "varian_name": "Merah, L",
- "stock": 10,
- "sold": 200
}
], - "packing_detail": [
- {
- "product_warehouse_id": 1,
- "packing_detail_id": 4,
- "id_packing": 6,
- "packing_material": "Plastik HD"
}
]
}
]
}
}
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
- Payload
{- "is_default": 1
}
Response samples
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "id": 1,
- "name": "Gudang Budi Darmasto",
- "destination_id": 1,
- "origin_code": "CGK10000",
- "detail_addres": "Jl. Hr. Bonyamin No. 03 rapi",
- "pic_name": "Anak Budi",
- "pic_phone": "0812210123456",
- "product": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_varian": "true",
- "stock": 0,
- "sold": 0,
- "variasi": [
- {
- "option_id": 1,
- "varian_name": "Merah, L",
- "stock": 10,
- "sold": 200
}
]
}
]
}
}
Update warehouse
Request Body schema: application/json
object (apiv1komshipwarehouseupdate_warehouse) | |
Array of objects (apiv1komshipwarehouseupdate_product) [ items ] |
Responses
Request samples
- Payload
{- "warehouse": {
- "id": 1,
- "name": "Gudang Budi Darmasto",
- "destination_id": 1,
- "origin_code": "CGK10000",
- "detail_addres": "Jl. Hr. Bonyamin No. 03 rapi",
- "pic_name": "Anak Budi",
- "pic_phone": "0812210123456"
}, - "product": [
- {
- "product_id": 1,
- "is_variant": "true",
- "product_total": "10",
- "is_new": true,
- "is_edit": false,
- "variant": [
- {
- "option_id": 10,
- "product_total": 5
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "mitra_id": 33,
- "name": "Gudang Budi Darmanto",
- "join_date": "2022-10-10",
- "image_logo_url": "assets/image/logo_image.jpg",
- "city_name": "Tanggerang Selatan",
- "avability": "Tersedia",
- "owner": "Budi Darmanto",
- "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
- "image_warehouse": "assets/image/front_image.jpg"
}
]
}
Information about warehouse
path Parameters
mitra_id required | integer <int64> ID of Mitra Warehouse to return |
Responses
Response samples
- 200
- 400
- 401
{- "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": [
- {
- "id": 1,
- "image_url": "assets/image/front_image.jpg"
}
]
}
reviews warehouse
query Parameters
warehouse_id required | string ID of Mitra Warehouse to return |
limits | integer |
offset | integer |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "kategori": "Fashion, Muslim",
- "product_height": 127,
- "product_length": 50,
- "product_width": 100,
- "range_price": "Rp 20.000 - Rp. 40.000"
}
]
}
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
- Payload
{- "partner_id": 1,
- "warehouse_id": 2,
- "submission_type": 1,
- "product": [
- {
- "product_id": 1,
- "packing_material": 0
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": "reviews has ben store successfully"
}
list data inbound
query Parameters
warehouse_id | integer |
start_date | string |
end_date | string |
offset | integer |
limit | integer |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "inbound_date": "2022-02-12 13:23:33",
- "warehouse_id": 1,
- "warehouse_name": "Gudang Pak Darman",
- "city_name": "JAKARTA SELATAN",
- "shipping_type": "Dikirim Sendiri",
- "arrived_date": "2022-02-17",
- "status": "Proses",
- "estimate_date": "2022-02-17",
- "shipping_date": "2022-02-17",
- "shipping": "SICEPAT",
- "no_resi": "2323441255",
- "is_retur": 1,
- "order_id": 1231,
- "send_from": "Bobotsari, Purbalingga, Jawa Tengah",
- "send_to": "Gudang 1 - Bobotsari, Purbalingga, Jawa Tengah"
}
]
}
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
- Payload
{- "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": [
- {
- "product_id": 1,
- "is_variant": "true",
- "inbound_total": "10",
- "variant": [
- {
- "option_id": 10,
- "inbound_total": 5
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": "inbound has ben store successfully"
}
list product to store data inbound
path Parameters
warehouse_id required | integer ID of warehouse to return |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_varian": "true",
- "stock": 0,
- "variasi": [
- {
- "option_id": 1,
- "varian_name": "Merah, L",
- "stock": 10
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "products": [
- {
- "inbound_product_id": 1,
- "product_id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_variant": "true",
- "total_inbound": 10,
- "variant": [
- {
- "product_detail_id": 1,
- "option_id": 10,
- "varian_name": "Merah, L",
- "total_inbound": 5
}
]
}
]
}
], - "history_shipping": [
- {
- "delivered": "true",
- "summary": [
- {
- "courier_code": "J&T",
- "courier_name": "J&T Express",
- "waybill_number": "2312312542512",
- "service_code": "12312",
- "waybill_date": "2022-10-11",
- "shipper_name": "Ragil",
- "reciver_name": "chondro",
- "origin": "3412",
- "destination": "Tunjungmuli",
- "status": "DELIVERED"
}
], - "delivery_status": [
- {
- "status": "DELIVERED",
- "pod_reciver": "Wildan Kurnia Candra",
- "pod_date": "2022-10-13",
- "pod_time": "54863"
}
], - "manifest": [
- {
- "manifest_code": "1",
- "manifest_description": "Sedang Diantar",
- "manifest_date": "2022-10-14",
- "manifest_time": "09:46:10",
- "city_name": "PURBALINGGA - KARANGMONCOL"
}
]
}
]
}
update data inbound
Request Body schema: application/json
inbound_id | integer |
Array of objects (apiv1komshipinboundupdate_product) [ items ] |
Responses
Request samples
- Payload
{- "inbound_id": 30,
- "product": [
- {
- "product_id": 1,
- "is_variant": 1,
- "total_inbound": 10,
- "is_update": 1,
- "variant": [
- {
- "option_id": 10,
- "total_inbound": 5,
- "is_update": 1
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": "inbound has ben update successfully"
}
Response samples
- 200
- 400
- 401
{- "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": [
- {
- "id": 1,
- "image_url": "assets/image/front_image.jpg"
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "partner_warehouse": {
- "id": 1,
- "user_id": 1,
- "username": "budidarmasto",
- "owner": "Budi Darmasto",
- "phone_number": "0812210123456",
- "gender": "L",
- "nik": "3303131808980001",
- "image_ktp_url": "string",
- "partner_verification": 1,
- "service_status": "nonaktif",
- "warehouse_id": 1,
- "image_logo_url": "string",
- "warehouse_name": "Gudang Budi Darmasto",
- "avability": 1,
- "pic_name": "Anak Budi",
- "pic_phone": "0812210123456",
- "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
- "destination_id": 1,
- "detail_addres": "Jl. Hr. Bonyamin No. 03",
- "building_area": 200,
- "building_type": 2,
- "ownership": 1,
- "warehouse_verification": 1,
- "image_warehouse": [
- {
- "id": 1,
- "image_url": "assets/image/front_image.jpg"
}
]
}, - "warehouse": {
- "id": 1,
- "name": "Gudang Budi Darmasto",
- "photo_logo_url": "string",
- "description": "Gudang dengan kemersihan terjaga dan oacking rapi",
- "pic_name": "Anak Budi",
- "pic_phone": "0812210123456",
- "origin_code": "CGK10000",
- "destination_id": 1,
- "detail_addres": "Jl. Hr. Bonyamin No. 03",
- "avability": 1,
- "building_area": 200,
- "ownership": 1,
- "building_type": 2,
- "is_verification": 1
}, - "image_warehouse": [
- {
- "id": 1,
- "image_url": "assets/image/front_image.jpg"
}
]
}
}
Update warehouse
Request Body schema: multipart/form-data
id | integer |
user_id | integer |
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "warehouse has ben update successfully"
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "image_logo_url": "kompact/logo.jpg",
- "name": "Estrige",
- "business_sector": "Fashion",
- "business_type": "reseller",
- "product_total": 8,
- "sold_total": 200,
- "number_phone": "812210123456"
}
]
}
Stock Product Partner in warehouse
path Parameters
partner_id required | integer <int64> ID of Partner to return |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_varian": "1",
- "stock": 0,
- "sold": 0,
- "fulfillment_cost": 2000,
- "variant": [
- {
- "variant_id": 1,
- "varian_name": "Merah, L",
- "variant_stock": 10,
- "variant_sold": 200
}
], - "packing_detail": [
- {
- "product_warehouse_id": 1,
- "packing_detail_id": 4,
- "id_packing": 6,
- "packing_material": "Plastik HD"
}
]
}
]
}
list data inbound
query Parameters
partner_id | integer |
offset | integer |
limit | integer |
status | integer 1 = diproses, 2 = selesai, 3 = batal |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "inbound_date": "2022-02-12 13:23:33",
- "partner_id": 1,
- "partner_name": "Delora Store",
- "number_phone": "085938298712",
- "city_name": "JAKARTA SELATAN",
- "shipping_type": "Dikirim Sendiri",
- "arrived_date": "2022-02-17",
- "status": "Proses",
- "estimate_date": "2022-02-17",
- "shipping_date": "2022-02-17",
- "shipping": "SICEPAT",
- "no_resi": "2323441255",
- "is_retur": 1,
- "send_from": "Bobotsari, Purbalingga, Jawa Tengah",
- "send_to": "Gudang 1 - Bobotsari, Purbalingga, Jawa Tengah"
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "products": [
- {
- "inbound_product_id": 1,
- "product_id": 1,
- "product_name": "Baju Koko",
- "image_path": "product_images/baju.jpg",
- "sku": "BK01",
- "is_variant": "true",
- "total_inbound": 10,
- "variant": [
- {
- "product_detail_id": 1,
- "option_id": 10,
- "varian_name": "Merah, L",
- "total_inbound": 5
}
]
}
]
}
], - "history_shipping": [
- {
- "delivered": "true",
- "summary": [
- {
- "courier_code": "J&T",
- "courier_name": "J&T Express",
- "waybill_number": "2312312542512",
- "service_code": "12312",
- "waybill_date": "2022-10-11",
- "shipper_name": "Ragil",
- "reciver_name": "chondro",
- "origin": "3412",
- "destination": "Tunjungmuli",
- "status": "DELIVERED"
}
], - "delivery_status": [
- {
- "status": "DELIVERED",
- "pod_reciver": "Wildan Kurnia Candra",
- "pod_date": "2022-10-13",
- "pod_time": "54863"
}
], - "manifest": [
- {
- "manifest_code": "1",
- "manifest_description": "Sedang Diantar",
- "manifest_date": "2022-10-14",
- "manifest_time": "09:46:10",
- "city_name": "PURBALINGGA - KARANGMONCOL"
}
]
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "pickup_date": "2022-02-02 00:02:12",
- "partner_name": "PsStore",
- "business_logo": "/komship/logo.jpg",
- "total_order": 10,
- "total_product": 20,
- "fulfillment_cost": 20000,
- "is_print": 1
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "id": 1,
- "name": "Gudang Putra Jaya",
- "address": "Jalan Kehidupan no 1, Karangmoncol, Purbalingga",
- "date": "2021-02-21",
- "time": "741",
- "vehicle": "Motor",
- "product": [
- {
- "product_id": 123,
- "product_name": "Sendal Nadif",
- "is_variant": 1,
- "total": 0,
- "variant": [
- {
- "variant_id": 23,
- "variant_name": "Merah, L",
- "total": 10
}
]
}
], - "total_product": 10
}
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "detail_packing_id": 1,
- "order_id": 1,
- "order_date": "2021-02-02 14:30",
- "order_status": "DIkirim",
- "customer_name": "Joko",
- "address": "Jalan Kehidupan no 1, Karangmoncol, Purbalingga",
- "no_resi": "098648727",
- "shipping": "JNE",
- "shipping_type": "true",
- "fulfillment_cost": 2000,
- "is_cancel": 0,
- "product": [
- {
- "id": 1,
- "product_name": "Baju Koko",
- "image_path": "kompack/barang.jpg",
- "sku": "BK01",
- "variant_name": "Putih, L",
- "total": "10"
}
]
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "base_64": "SFRUUC8xLjAgMjAwIE9LDQpDYWNoZS1Db250cm9sOiAgICAgICBuby1jYWNoZSwgcHJpdmF0ZQ0KQ29udGVudC1EaXNwb3NpdGlvbjogYXR0YWNobWVudDsgZmlsZW5hbWU9ImxhYmVsLTI3LTEyLTIwMjItMDAtMDEzMjIzMTAzMTYwLnBkZiINCkNvbnRlbnQtTGVuZ3RoOiAgICAgIDEzMzkxMg0KQ29udGVudC1UeXBlOiAgICAgICAgYXBwbGljYXRpb24vcGRmDQpEYXRlOiAgICAgICAgICAgICAgICBNb24sIDAyIEphbiAyMDIzIDA3OjEwOjA2IEdNVA0KDQolUERGLTEuNwoxIDAgb2JqCjw8IC9UeXBlIC9DYXRhbG9nCi9PdXRsaW5lcyAyIDAgUgovUGFnZXMgMyAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL091dGxpbmVzIC9Db3VudCAwID4+CmVuZG9iagozIDAgb2JqCjw8IC9UeXBlIC9QYWdlcwovS2lkcyBbNiAwIFI"
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "balance": 4767500,
- "history": {
- "current_page": 1,
- "data": [
- {
- "transaction_id": 2321,
- "date": "2021-12-25 14:10",
- "partner_name": "Pstore",
- "reference_transaction_id": 15,
- "reference_partner_id": 0,
- "transaction_type": "credit",
- "description": "outbound",
- "nominal": 300000,
- "balance": 4767500
}, - {
- "transaction_id": 2323,
- "date": "2021-12-24 10:10",
- "partner_name": "Pstore",
- "transaction_type": "credit",
- "description": "withdrawal",
- "nominal": 1000000,
- "balance": 4467500
}
], - "per_page": 23,
- "total": 20
}
}
}
Detail balance History
query Parameters
balance_history_id required | integer Example: balance_history_id=110 |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "total_commission": 4767500,
- "partner_name": "Pstore",
- "date_history": [
- {
- "date": "2022-12-21",
- "pickup_request_id": 1234
}, - {
- "date": "2022-12-22",
- "pickup_request_id": 2414
}
]
}
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "pickup_date": "2021-12-21 14:10",
- "order_date": "2021-12-22 14:10",
- "awb": "0017927655711",
- "fulfillment_cost": 10000,
- "product": [
- {
- "product_name": "Jilbab pasmina",
- "qty": 1
}, - {
- "product_name": "Jilbab Sport",
- "qty": 2
}
]
}, - {
- "pickup_date": "2021-12-22 15:10",
- "order_date": "2021-12-22 16:10",
- "awb": "0017927655712",
- "fulfillment_cost": 10000,
- "product": [
- {
- "product_name": "Jilbab pasmina",
- "fulfillment_cost": 10000,
- "qty": 1
}
]
}
]
}
Check Possibility WD
query Parameters
withdrawal_request_nominal required | string Example: withdrawal_request_nominal=230001023 |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "balance": 12123,
- "maximum_withdraw_nominal": 2412125,
- "withdraw_possibilites": 1
}
]
}
Response samples
- 200
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "total": 1,
- "data": [
- {
- "id": 3,
- "user_id": 2833,
- "transaction_type": "withdraw_to_me",
- "nominal": 105730000,
- "bank_name": "Mandiri",
- "bank_no": 2876124214,
- "bank_owner_name": "WILDAN KURNIA CANDRA",
- "status": "completed",
- "notes": "string",
- "user": [
- {
- "id": 231,
- "role_id": 6,
- "full_name": "Wildan Cruzher",
- "position_name": "string",
- "photo_profile_url": "string"
}
], - "talent_recipents": "[]",
- "attachments": [
- {
- "id": 501,
- "reference_id": 6,
- "attachment_url": "www.okaokoaww.com",
- "attachment_notes": "awokakokwaokkwokaw",
- "attachment_type": "Kmpoin Withdrwaral"
}
], - "created_at": "string",
- "updated_at": "string"
}
]
}
]
}
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
- 200
- 400
- 401
{- "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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "successfuly store data bank account"
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "Appropriate Pin"
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": {
- "partner_warehouses": {
- "id": 51,
- "user_id": 0,
- "username": "cruzher.wild",
- "owner": "mas mbeng",
- "gender": "Laki-Laki",
- "phone_number": "085748612342",
- "nik": "3328051509010004",
- "image_ktp_url": "http://dev.komtim.komerce.my.id/storage/kompack_image_ktp/1664768725-WhatsApp Image 2022-09-14 at 11.28.34 AM.jpeg",
- "mitra_type_id": "Warehouse"
}, - "warehouse": {
- "id": 7,
- "mitra_id": 51,
- "name": "Komerce Gudang",
- "description": "lorem ipsum dolor sitamit",
- "pic_name": "mas mbeng",
- "pic_phone": "085748612342",
- "detail_address": "Jl. sama aku nikah sama dia",
- "image_logo_url": "https://dev.kompack.komerce.my.id/warehouse_logo/1664768725.WhatsApp Image 2022-09-14 at 11.28.34 AM (1).jpeg",
- "image_ktp_url": "http://dev.komtim.komerce.my.id/storage/kompack_image_ktp/1664768725-WhatsApp Image 2022-09-14 at 11.28.34 AM.jpeg",
- "avability": 1,
- "ownership": 5,
- "building_type": 1,
- "building_area": 502,
- "join_date": "2022-10-03 10:45:25",
- "is_verifikasi": 0,
- "warehouse_type": 1,
- "created_at": "2022-10-03 10:45:22",
- "updated_at": "2022-10-03 10:45:25"
}, - "image_warehouse": {
- "id": 7,
- "warehouse_id": 51,
- "image_url": "https://dev.kompack.komerce.my.id/warehouse_logo/1664768725.WhatsApp Image 2022-09-14 at 11.28.34 AM (1).jpeg",
- "created_at": "2022-10-03 10:45:22",
- "updated_at": "2022-10-03 10:45:25"
}
}
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "successfuly update profile"
}
Request samples
- Payload
{- "password": "12345678aB!",
- "login_from": "website",
- "fcm_token": "fMFJVmT_vCk:APA91bEwLh3_5dGKDFJI9M4ISZrqD9sOuN_mtYKxj85ZyaLaxo1sBIi9Iq8X5ZUieX5GyGDfkl_woikKVfJCp5j-U7MxNWDE5GlNg8E3IpnsP7GQARlsbcMsLmiM9eMD5xXYTSGXUUKS"
}
Response samples
- 200
- 400
{- "status": "success",
- "code": 200,
- "data": {
- "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI1IiwianRpIjoiZWViZTUwYzA1MzZiODE2OTA4YTIyNTQ0NWNhYzBlMTRiNTlmMWFkNjJmMTc0Nzc0ZDM2ZjhhMDBiZWRiYjU2M2JiMDgzNTk3NmQ2ZDIzZmMiLCJpYXQiOjE2NjQ3NjA1OTEsIm5iZiI6MTY2NDc2MDU5MSwiZXhwIjoxNjk2Mjk2NTkxLCJzdWIiOiIyNzk3Iiwic2NvcGVzIjpbXX0.aovuhLtuT4eAbIb53FkiBBxMkzxhxdv8ss1X0_j1jOSoghLGTZSx-C8apx8ZJyHsWMSKWqsyhoxWgMSNNMB-AIYx8028IS4hiJHv0UaDbJRpQYJZpLMCsinlPhWyL5yMp6t5Uwapek3fzh3uoyH4GvCkA4n1-mAIKbTJpdSqbSB_BVj-8PAfeYtvZ7zGNMXrZYNN_G6HpOC9CZAx94TUDoiyHrbGEkv9HhsGmHxDr4XiFKaeOb2JCNDCrqVyzqJ_A2K3FX1APx4c2vCjgo6Yng43TbrrYzDGGRMFk8U4rAtRqPOHAOY7rQNQTxFlAcGhtvQGk9q_fLvFW9tcZfx0t6bgUFjOD4KvIQUFUQ5u2ukmi0kpUQUKBRmw-zp9MXxJgbEARgVWfhiNbbA4GeNCEfYZXXorZy157wkiSwK4TPEJzqO27REuZ6-ubc0H0jCQsUNQ4_BeQyPrYDVCRMRYvhSF8cV3e8Obo_rwinhycvzK-zTTwbTQKdSlmW8Hx0i27VGVvZpX-xr98tY9DV2WI229lDatqg14vf2igP19ttNzyhDCmKlKaEbqtFceLLhp5XP9GdBuKs4sikMJTHl_Oy4q6xiQHjYKvu19H_9IgCKk5kFnYkCTOWHfflHIpTn50yFidenDdcBWk8jn0ccFrQ4skkuhXzDkCr2SBl9tvPQ",
- "token_type": "Bearer",
- "expires_at": "2023-10-03 08:29:51",
- "user_id": 2797,
- "username": "cruzher.wild",
- "img_path": "string",
- "login_form": "Website"
}
}
Response samples
- 200
- 400
{- "status": "success",
- "code": 200,
- "message": "Successfully send email verification",
- "email": "[email protected]"
}
Response samples
- 200
- 400
{- "status": "success",
- "code": 200,
- "message": "Email dapat digunakan"
}
Response samples
- 200
- 400
{- "status": "success",
- "code": 200,
- "message": "Successfully Sent Reset Password KompacK."
}
Response samples
- 200
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 6,
- "submission_date": "2022-10-25 22:44:20",
- "submission_status": "Sedang Diajukan",
- "submission_type": "Berlangganan",
- "user_id": 1440,
- "mitra_id": 79,
- "warehouse_id": 34,
- "warehouse_availability": "Penuh",
- "warehouse_name": "wkwkreffyt",
- "warehouse_city": "SUMBAWA",
- "detail_address": "aokawokawkokaowkkwaokwak",
- "warehouse_verification": "Terverifikasi",
- "warehouse_join_date": "2022-10-25",
- "warehouse_phone": "086232124551",
- "product_total": 3,
- "owner": "Mas Mbengs Dong",
- "owner_verification": 1,
- "product_submission": [
- {
- "id": 123,
- "submission_id": 6,
- "product_id": 199,
- "is_reject": 0,
- "product_name": "Produk Dengan Variasi",
- "sku": "V4121451",
- "product_height": 33,
- "product_length": 11,
- "product_width": 22,
- "product_is_variant": 1,
- "product_price": 0,
- "packing_material": 32,
- "fulfillment_cost": 0,
- "range_price": 0
}
]
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "successfully send otp to SMS!",
- "data": {
- "expired_at": 120,
- "check_request_otp": 1,
- "method": 0
}
}
get data Withdraw List
query Parameters
user_id required | integer |
page | integer |
limit | integer |
start_date | string |
end_date | string |
Responses
Response samples
- 200
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "total": 1,
- "data": [
- {
- "id": 3,
- "user_id": 2833,
- "transaction_type": "withdraw_to_me",
- "nominal": 105730000,
- "bank_name": "Mandiri",
- "bank_no": 2876124214,
- "bank_owner_name": "WILDAN KURNIA CANDRA",
- "status": "completed",
- "notes": "string",
- "user": [
- {
- "id": 231,
- "role_id": 6,
- "full_name": "Wildan Cruzher",
- "position_name": "string",
- "photo_profile_url": "string"
}
], - "talent_recipents": "[]",
- "attachments": [
- {
- "id": 501,
- "reference_id": 6,
- "attachment_url": "www.okaokoaww.com",
- "attachment_notes": "awokakokwaokkwokaw",
- "attachment_type": "Kmpoin Withdrwaral"
}
], - "created_at": "string",
- "updated_at": "string"
}
]
}
]
}
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
- Payload
{- "partner_id": 123,
- "warehouse_id": 97,
- "fulfillment_fee": 29000,
- "products": [
- {
- "product_id": 1,
- "is_variant": 1,
- "total": 10,
- "variants": [
- {
- "warehouse_variant_id": 10,
- "variant_name": "Mata, Kaki",
- "option_id": 10,
- "total": 5
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "outbound submission has ben store successfully",
- "data": [
- {
- "pic_phone": "08593939412"
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "outbound_date": "2022-02-12",
- "warehouse_id": 1,
- "warehouse_name": "Gudang Pak Darman",
- "status": "Diajukan",
- "reason": "Penarikan Barang",
- "total_product": 2
}
]
}
list data outbound detail outbound
path Parameters
outbound_id required | integer |
query Parameters
offset | integer |
limit | integer |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "outbound_id": 1,
- "outbound_date": "2022-02-12",
- "status": "Diajukan",
- "reason": "Penarikan Barang",
- "warehouse_name": "Gudang Pakjayadi",
- "warehouse_phone": "08369824231",
- "products": [
- {
- "nama_product": "Baju Merah",
- "variant": "Mata Najwa",
- "stok": 23,
- "total": 232
}
]
}
]
}
list data outbound witing response
query Parameters
warehouse_id | integer |
start_date | string |
end_date | string |
offset | integer |
limit | integer |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "outbound_date": "2022-02-12",
- "warehouse_id": 1,
- "warehouse_name": "Gudang Pak Darman",
- "status": "Diajukan",
- "reason": "Barang Rusak",
- "total_product": 2
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Organ Candra",
- "is_variant": 1,
- "stock": 0,
- "fulfillment_cost": 3000,
- "variant": [
- {
- "variant_id": 1,
- "option_id": 1293,
- "variant_name": "Mata, Kaki",
- "variant_stock": 232
}
]
}
]
}
store data outbound non pickup
Request Body schema: application/json
partner_id | integer |
Array of objects (apiv1komshipoutboundstore_products) [ items ] |
Responses
Request samples
- Payload
{- "partner_id": 123,
- "products": [
- {
- "product_id": 1,
- "is_variant": 1,
- "total": 10,
- "variants": [
- {
- "warehouse_variant_id": 10,
- "variant_name": "Mata, Kaki",
- "option_id": 10,
- "total": 5
}
]
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "message": "outbound submission has ben store successfully",
- "data": [
- {
- "pic_phone": "08593939412"
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "outbound_date": "2022-02-12",
- "warehouse_id": 1,
- "warehouse_name": "Gudang Pak Darman",
- "status": "Diajukan",
- "reason": "Penarikan Barang",
- "total_product": 2
}
]
}
list data outbound non pickup detail outbound
path Parameters
outbound_id required | integer |
query Parameters
offset | integer |
limit | integer |
Responses
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "outbound_id": 1,
- "outbound_date": "2022-02-12",
- "status": "Diajukan",
- "reason": "Penarikan Barang",
- "partner_name": "Garild",
- "products": [
- {
- "nama_product": "Baju Merah",
- "variant": "Mata Najwa",
- "stok": 23,
- "total": 232
}
]
}
]
}
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
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "outbound_date": "2022-02-12",
- "warehouse_id": 1,
- "partner_name": "Gerry Ano",
- "status": "Diajukan",
- "reason": "Penarikan Barang",
- "total_product": 2
}
]
}
Response samples
- 200
- 400
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "id": 1,
- "product_name": "Delora Store",
- "is_variant": 234,
- "stock": 23302,
- "fulfillment_cost": 23302,
- "variant": [
- {
- "variant_id": 23,
- "option_id": 2333,
- "variant_name": "Awkowakow",
- "variant_stock": 294
}
]
}
]
}
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
- 200
- 401
{- "status": "success",
- "code": 200,
- "data": [
- {
- "current_page": 1,
- "data": [
- {
- "withdrawal_id": 3,
- "mitra_id": 23,
- "mitra_warehouse": "Gudang Aoawokawko",
- "bank_name": "Mandiri",
- "bank_account_name": "Awokwokwok",
- "bank_account_no": 2876124214,
- "bank_owner_name": "WILDAN KURNIA CANDRA",
- "status": "requested",
- "nominal": 120979,
- "created_at": "string"
}
], - "first_page_url": "string",
- "from": 1,
- "last_page": 200,
- "last_page_url": "string",
- "links": [
- {
- "url": "string",
- "label": "Prev",
- "active": "false"
}
], - "next_page_url": "string",
- "path": "string",
- "per_page": 50,
- "prev_page_url": "string",
- "to": 1,
- "total": 1
}
]
}