1. Product
Onflow Open API
  • Getting Started
  • API
    • Config
      • Get Warehouse
      • Get Brand
      • Upload file
    • Product
      • Create Product
        POST
      • Assign Product
        PUT
      • Get Product List
        GET
      • Get Product Detail
        GET
      • Delete Product
        DELETE
      • Get Stock
        GET
    • PO
      • Get PO List
      • Create PO
      • Cancel PO
    • Shipment
      • B2C shipment
        • Get B2C Shipment
        • Create B2C Shipment
          • Create B2C Shipment
        • Cancel B2C Shipment
          • Cancel B2C Shipment
  1. Product

Get Stock

GET
/api/v1/products/{oasin}/warehouses/{warehouse_code}/stock
This API is used to retrieve product stock at the warehouse where it is currently stored.

Request

Path Params

Header Params

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/products//warehouses//stock' \
--header 'Authorization: {{token}}' \
--header 'Accept-Language: vi'
Response Response Example
{
    "data": {
        "oasin": "OASIN7984075",
        "product_name": "HIGH VALUE",
        "warehouse_name": "FC APD",
        "physical_stock_a": 0,
        "reserved_stock_a": 0,
        "available_stock_a": 0,
        "physical_stock_d1": 0,
        "reserved_stock_d1": 0,
        "available_stock_d1": 0,
        "physical_stock_d2": 0,
        "reserved_stock_d2": 0,
        "available_stock_d2": 0,
        "physical_stock_d3": 0,
        "reserved_stock_d3": 0,
        "available_stock_d3": 0
    },
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 1,
    "version": "1.0.3",
    "error_detail": null
}
Modified at 2026-01-29 01:34:30
Previous
Delete Product
Next
Get PO List
Built with