1. Product
POS Toko Kue
  • Physical Transfer
    • List Physical Transfer
      GET
    • Show
      GET
    • Create
      POST
    • Update Status Transfer
      POST
    • Delete
      DELETE
    • Update
      PUT
  • Supplier
    • Get All
      GET
    • Get By Id
      GET
    • Create
      POST
    • Update
      PUT
    • Delete
      DELETE
  • Cash Book
    • Get By ID
      GET
    • Get All
      GET
    • Create
      POST
    • Update
      POST
    • Delete
      DELETE
    • Get Widget
      GET
    • Update Balance
      POST
    • Cash Book sync
      POST
  • Return
    • Export
      • Return Export
    • CREATE
    • Get
    • Get by id
    • Return sync
  • Receipt
    • Export
      • Receipt Export
    • GET
    • GET By ID
    • Create
    • Receipt sync
  • Auth
    • Login
    • Forgot Password
    • New Password
    • Change Password
    • Verify Otp
    • Logout
    • Refresh Token
    • Profile
    • Edit Profile
  • Stock Opname
    • Approve Stock Opname
    • Get
    • Create
    • Get By ID
    • UPDATE
    • DELETE
    • StockOpname Sync
    • Export Stock Opname
  • Store
    • GET
    • Switch Store
    • Activation
    • Activate
    • New Otp
    • Show
    • Profile
    • Delete
    • Update
    • Destroy
  • Product
    • List product
      GET
    • Detail
      GET
    • Create
      POST
    • Update
      POST
    • Delete
      DELETE
    • Get Product Batch
      GET
    • Get Product Stock History
      GET
    • Get Expire soon product
      GET
    • Get Low Stock Product
      GET
    • [Dev only] Get Product Stock History
      GET
    • [Dev Only] Create dummy product batch
      POST
    • [Dev Only] Delete product that doesn't have detail
      GET
    • [DEV Only]Sync product stock
      POST
  • Role
    • List
  • Catalog
    • Material
      • Store
      • Destroy
    • List
    • Destroy
    • Show
    • Update
    • Store
  • Member
    • Export
    • List
    • Destroy
    • Show
    • Store
    • Update
  • Employee
    • List
    • Destroy
    • Show
    • Store
    • Update
  • Discount
    • List
    • Show
    • Store
    • Update
    • Delete
  • Store Payment
    • List
    • Store
    • Update
  • Store Additional Information
    • My Store Additional Information
    • Update
  • Package
    • List
    • Show
    • Store
    • Update
    • Destroy
  • Reference
    • Get All Province
    • Get All City
    • Get All District
    • Get All Village
    • Bank
  • Settings
    • Application
  • Transaction
    • Evidence
      • Store
    • Widget Transaction
    • Transaction sync
    • Create Transaction
    • Get Transaction
    • Detail Transaction
    • Delete
  • Report
    • Export
      • Export History Transaction
      • Export Sales Report
    • Consignment
      • Widget Consignment Load
      • Get Consignment Suppliers
      • Get Detail Consignment Supplier
      • Export Consignment Supplier
      • Suppliers-Pay
      • Get Widget Detail
    • Sales report
    • Sales item report
    • Most selling report
    • Cash flow report
    • Widget Dashboard
  • Customer Service
    • New Request
  • Stock Adjustment
    • Get All
    • Create
    • Get By ID
    • Delete
    • Update
  • Stock Reconciliation
    • GET
  • Category
    • Get
  • Send Payment Receipt
    POST
  • Change request
    POST
  • Change confirm
    POST
  1. Product

Create

Develop Env
http://localhost:8000
Develop Env
http://localhost:8000
POST
/api/v1/product

Request

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

Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8000/api/v1/product' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--form 'name="Smartphone Flagship Alpha Z"' \
--form 'sku="SF-AZAAA-2025"' \
--form 'minimum_stock="10"' \
--form 'price_sell="12500000.00"' \
--form 'price_sell2="12000000.00"' \
--form 'price_buy="9500000.00"' \
--form 'description="Ponsel pintar dengan kamera tercanggih dan baterai tahan lama, cocok untuk penggunaan profesional."' \
--form 'thumbnail=@"/home/nicky/Pictures/portada_sekai-saikou-no-ansatsusha.jpg"' \
--form 'photos[]=@"/home/nicky/Project/pos-toko-kue/public/assets/image/logo-text-muted.png"' \
--form 'photos[]=@"/home/nicky/Downloads/fff.png"' \
--form 'supplier_id="1"'
Response Response Example
{}
Modified at 2025-12-02 07:39:40
Previous
Detail
Next
Update
Built with