Product Stock Uses

POST

Create Product Stock Use

Create a new product stock use record.

Required Permission: Create Product Stock Use
POST /product-stock-uses

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
date Date Optional date, Y-m-d The date of use
branch_id Integer Optional integer, exists:branches The branch ID (defaults to user's branch)
note String Optional string Notes about the stock use
items Array Required array, min:1 List of items used
items.*.product_stock_id Integer Required integer, exists:product_stocks,id The Product Stock ID
items.*.quantity Decimal Required decimal, min:0.001 Quantity used

Response

200 OK
Status Code
HTTP status code (200)
Message
Human-readable description
Data
Created product stock use details