Sella
  1. Stock
Sella
General
  • General
  • Auth
    • Password
      • Request password reset (email or SMS)
      • Reset password using token/OTP
    • Email
      • Send email verification link/OTP
      • Verify email using token/OTP
    • Sessions
      • List active sessions/devices
      • Revoke a specific session
    • OAuth
      • Begin OAuth login (PKCE-capable)
      • Complete OAuth flow
    • MFA
      • Provision TOTP secret (QR)
      • Verify TOTP code
    • Register a new user
      POST
    • Password login
      POST
    • Rotate refresh token
      POST
    • Logout current session
      POST
    • Logout all sessions
      POST
    • Check session
      GET
    • Validate token
      POST
  • Inventory
    • ProductCategory
      • Create Product Category
      • Edit Product Category
      • Delete Product Category
      • List product categories (cursor)
      • Categories summary
    • Product
      • List products
      • Products summary
      • Create Product
      • Update Product
      • Get product by ID
      • Disable Product
    • Stocktake
      • List stocktakes (cursor)
      • Stocktakes summary
    • Adjustment
      • List stock adjustments (cursor)
      • Stock adjustments summary
    • PurchaseLog
      • List purchase logs (cursor)
      • Purchase logs summary
    • Stock
      • create bulk-stock
        POST
      • add stock
        POST
      • List inventory/stock rows
        GET
      • List summary
        GET
      • Inventory Qty Balance
        GET
      • stock adjustment
        POST
      • Inventory Item Average Cost Price
        GET
      • stock movement
        GET
    • Inventory
    • Measurements
      • Get measurement options for products
      • Create measurement
    • Get measurement
      GET
    • Import Stocks via Sheet
      POST
    • Stock (cursor)
      GET
  • CRM
    • Customer/vendor
      • Create customer/vendor
      • Update customer/vendor
      • Delete customer
      • get customer/vendor Copy
      • get customer/vendor transactions
      • Transaction (Customers or Vendors)
      • Transaction summary (Customers or Vendors)
    • Vendor
      • Create vendor
  • ORG
    • Outlet
      • Create Outlet
      • Edit Outlet
      • Delete Outlet
      • List outlets (cursor)
      • Outlets summary
      • outlet dropdown data
    • Location
      • create location
      • update location
      • delete location
      • List locations (cursor)
      • Locations summary
    • Currency
      • get all currency
  • Transaction
    • Bank
      • Create bank account
      • Edit Bank
      • Delete Bank Account
      • List bank accounts
      • Fetch Bank Transactions
      • Bank accounts summary
      • Bank ledger details (cursor)
      • Bank ledger summary
    • Payment
      • Get payment logs
      • Get payment summary
    • Sales
      • Product facets (categories, brands, stock counts)
    • SalesList
      • List sales
      • Get sales summary
    • SalesSummary
      • Sales by product (cursor)
      • Sales by product summary (totals)
    • Expenses
      • Expenses (cursor)
      • Expenses summary
    • PaymentAnalysis
      • Payment analysis (cursor)
      • Payment analysis summary
    • Cart
      • Get cart
      • Clear cart
      • Add item to cart
      • Update cart item
      • Remove item from cart
    • Checkout
      • Process checkout
    • Customer Transactions
      • Get customer transactions
      • Get customer transaction summary
      • Get customer transaction product list
      • Customer purchase history
    • Payments
    • Banks
      • Update bank account
      • Delete bank account
      • Get bank account transactions
      • Batch bank operations
  • Account
    • Fetch Income Account
    • chart of account dropdown data
  1. Stock

add stock

Developing
POST
/inventory/bulk-stock

Request

Body Params application/json

Example
{
   "date": "2025-10-23",
  "storeId": "a1bf5b6aa08c4bcaab26117ab0ece725",
  "vendorId": "c6b9decf598b4a9e86588fc72f994032",
  "pmethod": "pos",
  "bankAmount": 0,
  "posAmount": 250000,
  "cashAmount": 0,
   "amount": 250000,
  "total": 250000,
  "stock": [
    {
      "productId": "prd_2001",
      "quantity": 5.25,
      "costPrice": 1999.99,
      "itemPriceId": "price_2001"
    }
  ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mock.apidog.com/m1/1052146-0-default/inventory/bulk-stock' \
--header 'Content-Type: application/json' \
--data-raw '{
   "date": "2025-10-23",
  "storeId": "a1bf5b6aa08c4bcaab26117ab0ece725",
  "vendorId": "c6b9decf598b4a9e86588fc72f994032",
  "pmethod": "pos",
  "bankAmount": 0,
  "posAmount": 250000,
  "cashAmount": 0,
   "amount": 250000,
  "total": 250000,
  "stock": [
    {
      "productId": "prd_2001",
      "quantity": 5.25,
      "costPrice": 1999.99,
      "itemPriceId": "price_2001"
    }
  ]
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-12-08 09:42:56
Previous
create bulk-stock
Next
List inventory/stock rows
Built with