1. Stock
Onflow Open API
  • Getting Started
  • Status & Shipment Logic Overview
  • API
    • Config
      • Get Warehouse
      • Get Brand
      • Get Province
      • Get District
      • Get Ward
      • Upload file
    • Product
      • Create Product
      • Assign Product
      • Get Product List
      • Get Product Detail
      • Get Stock
      • Deactivate Product
    • PO
      • Create PO
      • Get PO List
      • Get PO Bill
      • Get PO Detail
      • Get PO Inspection Detail
      • Cancel PO
    • Shipment
      • B2C Shipment
        • Create B2C Shipment
        • Get B2C Shipment List
        • Get B2C Shipment Detail
        • Cancel B2C Shipment
      • B2C Return shipment
        • Create Return B2C Shipment
        • Get Return B2C Shipment List
        • Get Return B2C Shipment Detail
        • Cancel Return B2C Shipment
  • Webhook
    • Shipment
      • Updated Shipment Status
    • Return
      • Updated Return Status
    • PO
      • Updated PO Status
    • Stock
      • Updated Stock
        POST
  1. Stock

Updated Stock

POST
https://open-api-dev.nandh.vn/api/v1/webhooks/test

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-api-dev.nandh.vn/api/v1/webhooks/test' \
--header 'Content-Type: application/json' \
--data-raw '{
  "user_id": 343,
  "business_id": 454,
  "instance_id": "1facbc8f-6fc1-4335-8e2e-fc16587c8a8d",
  "event_code": "product.update_stock",
  "transaction_id": "74697",
  "transaction_type": "PUTAWAY",
  "transaction_created_time": 1774835393,
  "reference_code": "OAPO227434053",
  "oasin": "OASIN1899572",
  "sku": "SKU-1774409776005",
  "movement_quantity": 20,
  "remaining_stock": 40,
  "stock_level": "D3",
  "is_abnormal": false
}'
Response Response Example
{}
Modified at 2026-03-30 06:22:02
Previous
Updated PO Status
Built with