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

Upload Image

Testing
POST
/store/uploads/image
BosOnline/Product
Endpoint ini digunakan untuk membuat produk beserta varian. Create Produk.
Catatan: Penambahan response 400 & 404 & Penambahan response
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/store/uploads/image' \
--form 'file=@"/Users/kirobin/Downloads/1617703490919..jpg"'
Response Response Example
200 - Success
{
    "file_name": "1750411353-457.jpg",
    "message": "Image uploaded successfully"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data
file
file 
optional
batasan ukuran 2mb
Example:
file:///Users/kirobin/Downloads/1617703490919..jpg

Responses

🟢200OK
application/json
Body
message
string 
required
🔴503Service Unavailable
🟠404Record not found
🟠400Invalid input
Modified at 2025-06-20 10:30:46
Previous
Update Variant
Next
Cek SKU
Built with