bosOnline
  1. Product
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh Token
    • Product
      • Inventory
        GET
      • Download Inventory
        POST
      • Download Variant
        POST
      • Update Inventory
        PUT
      • Get Category
        GET
      • Get Edit Product
        GET
      • Product List
        GET
      • Edit Product Detail (Product Detail)
        PUT
      • product
        POST
      • Delete Product
        DELETE
      • Edit Status Product (Product List)
        PATCH
      • Download Product (Product List)
        POST
      • Product Detail
        GET
      • Product Variant
        GET
      • Edit Status Variant (Product Detail)
        PATCH
      • Update Variant
        PUT
      • Upload Image
        POST
      • Cek SKU
        GET
    • Form
      • Form
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Form list
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
    • Order
      • Checkout
        • Request Create Order
        • Request Create Order Abandoned
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
      • Order List
      • Confirm Payment
      • Update Payment Method
      • Update Pengiriman Kurir
      • Update Status Order
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
        • Get Revenue
      • Store
      • Cek SubDomain
      • Get Region
      • Store
      • Warehouse
      • On Boarding
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Tips
      • Announcement
      • Edit Subdomain
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Reset Password
      • Warehouse
      • Order Shipping
      • winpay service
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Data Deletion
      • Default Warehouse
      • Me
    • Staff
      • Staff
      • Delete staff
      • Create Staff
      • Edit Status Staff
    • Rekening
      • Bank List
      • Get Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
      • Edit Voucher Status
      • Voucher
      • List Voucher Checkout
      • Delete Voucher
  • AdminBosOnline
    • Dashboard
      • Recap Store
      • Revenue
      • Order Recap
  1. Product

Inventory

Testing
GET
/store/products/{id}/inventory
Endpoint ini digunakan untuk menampilkan inventory pada produk.
Catatan: penambahan coding BE Jika datanya tidak ada perlu response total = 0
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/store/products/ESB-005/inventory?category=name&keyword&start=0&limit=10&sort_by=name&sort_dir=asc'
Response Response Example
200 - Success
{
    "data": [
        {
            "allocated_stok": 0,
            "product_name": "Biji kopi arabica",
            "variant_name": "Halus 1000 gr",
            "variant_sku": "ESB-003-24",
            "variant_status": 1,
            "variant_stok": 101,
            "variant_type": "Produk Digital"
        },
        {
            "allocated_stok": 0,
            "product_name": "Biji kopi arabica",
            "variant_name": "Halus 2000 gr",
            "variant_sku": "ESB-002-25",
            "variant_status": 0,
            "variant_stok": 302,
            "variant_type": "Produk Digital"
        }
    ],
    "total": 2
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
sku induk
Example:
ESB-005
Query Params
category
string 
optional
name
Example:
name
keyword
string 
optional
start
string 
optional
Default:
0
Example:
0
limit
string 
optional
validasi BE maks 250
Default:
10
Example:
10
sort_by
string 
optional
name
Example:
name
sort_dir
string 
optional
asc, desc
Example:
asc

Responses

🟢200Success
application/json
Body
data
array [object {7}] 
required
allocated_stok
integer 
required
product_name
string 
required
variant_name
string 
required
variant_sku
string 
required
variant_status
integer 
required
variant_stok
integer 
required
variant_type
string 
required
total
integer 
required
🔴503Service Unavailable
Modified at 2025-06-20 02:34:31
Previous
Product
Next
Download Inventory
Built with