bosOnline
  1. Voucher
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh
      • Logout
    • Product
      • Inventory
      • Update Inventory
      • Download Inventory
      • Download Variant
      • Get Category
      • Get Edit Product
      • Delete Product
      • Product List
      • product
      • Edit Product Detail (Product Detail)
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU Variant
      • Cek SKU Product
    • Form
      • Form
      • Form list
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
      • Delete Form
      • Form list Donwload
      • Duplicate form
      • Duplicate form batch
    • Order
      • Checkout
        • Request Create Order
        • Request Create Order Abandoned
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Update Pengiriman Kurir
      • Confirm Payment
      • Validation Number WA
      • Order List
      • Recap Order List
      • Update Status Order
      • Load checkout Form
      • Estimation Rates
      • Download Order List
      • Cetak Invoice
      • Courier List
      • Update Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Get Revenue
      • Tips
      • Announcement
      • Store
      • Store
      • Cek SubDomain
      • Edit Subdomain
      • On Boarding
      • Warehouse
      • Get Region
      • Get Province List
      • Get Notification
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Forgot Password (Reset Password)
      • Warehouse
      • Order Shipping
      • winpay service
      • Saldo BosPay
      • Validation Number WA With store
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Account Deletion
      • Default Warehouse
      • Me
    • Staff
      • Create Staff
      • Delete staff
      • Staff List
      • Edit Status Staff
      • Update staff
      • Edit Multi Status Staff
    • Rekening
      • Bank List
      • Get Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
        GET
      • Edit Voucher Status
        PATCH
      • Voucher
        POST
      • List Voucher Checkout
        GET
      • Delete Voucher
        DELETE
    • Session
      • Active Sesion
      • Sesion History
      • Logout All Outher Session
      • Logout Session ID
  • AdminBosOnline
    • Dashboard
      • Header Summary
      • Get Popular Products
      • Rekap Product
      • Revenue
      • Get Top Seller
    • Seller
      • Detail
        • Seller Detail
        • Update Seller Detail Status & Marking
        • Seller Store
        • Update Detail Seller Store
        • Seller Product
        • Download Product Seller
        • Update Status Produk Seller
        • Seller Warehouse List
        • Seller Note
        • Create Seller Note
        • Update Seller Note
        • Seller Domains
      • Seller Summary
      • Seller List
      • Seller Active Status
      • Update Marking Sellers
      • Detail Bank Seller
    • Products
      • Recap Product
      • Get List Product
      • Download list product
      • Edit status product
      • Update Marking Product
      • Detail Product Seller
      • Detail Product Variant
      • Download Product Variant
      • Product Form
    • Order
      • Order Recap
      • Order List
      • Download Order
      • Detail Order
      • Cetak Invoice
    • Store
      • Create Store
      • Upload Image Custom
    • auth
      • Get User Internal
      • Get Detail User Internal
      • Create Internal User
      • Edit Detail Internal User
      • Update Active User Internal
      • Delete Internal User
    • Cache
      • All Cache
      • Cache Statistics
      • Flush All Cache
      • Specific Cache key
      • Specific Cache Pattern
      • Specific Cache User
  1. Voucher

Edit Voucher Status

Tested
PATCH
/store/vouchers
Endpoint ini digunakan untuk mengedit status dari voucher. Bisa multi update dengan catatan status yang akan dirubah akan sama saat setelah diupdate. Sesuai button yang dipilih.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/store/vouchers' \
--header 'Content-Type: application/json' \
--data-raw '{
    "active": true,
    "voucher_list": [
        "Z29PAJD","X921JH"
    ]
}'
Response Response Example
200 - Success
{
    "message": "voucher has been successfully updated.
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Invalid input
🟠404Record not found
🔴503Service Unavailable
Previous
List Voucher
Next
Voucher
Built with