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
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
Query Params
Responses
🟢200OK
application/octet-stream
Body
🔴503Service Unavailable
🟠400Invalid input
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/store/products/ESB-004/variant/download?category=name&keyword=&type=xlsx' \
--header'Authorization: Bearer <token>'
Response Response Example
503 - Exception
{"message":"Service temporarily unavailable. Please try again later."}