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

Download Variant

Testing
POST
/store/products/{id}/variant/download
BosOnline/Product
Endpoint ini digunakan untuk mengambil daftar varian produk berdasarkan ID produk. Varian dapat berupa opsi tunggal (misal: "100gr") atau kombinasi (misal: "100gr + halus") lengkap dengan harga, stok, dan SKU. Tab Varian Produk.
Catatan: Perubahan url, Perubahan method POST, Penambahan parameter type dan Penambahan response 400.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/store/products/ESB-004/variant/download?category=name&keyword=&type=xlsx&start=0&limit=10'
Response Response Example
503 - Exception
{
    "message": "Service temporarily unavailable. Please try again later."
}

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-004
Query Params
category
string 
optional
name, sku
Example:
name
keyword
string 
optional
type
string 
required
format file
Example:
xlsx
start
string 
optional
Default:
0
Example:
0
limit
string 
optional
validasi BE maks 250
Default:
10
Example:
10

Responses

🟢200OK
application/octet-stream
Body
data
array [object {10}] 
required
variant_sku
string 
required
variant_stok
integer 
required
variant_length
integer 
required
variant_width
integer 
required
variant_height
integer 
required
variant_weight
integer 
required
variant_hpp
integer 
required
variant_price
integer 
required
variant_status
integer 
required
atribut_item
array [object {4}] 
required
total
integer 
required
🔴503Service Unavailable
🟠400Invalid input
Modified at 2025-06-20 02:35:04
Previous
Download Inventory
Next
Update Inventory
Built with