Get Product Inventory
GET/api/inventory
Get Product Inventory
Request
Query Parameters
page integer
Example: 1
Header Parameters
X-Company-Slug stringrequired
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
meta
object
total numberrequired
per_page numberrequired
current_page numberrequired
last_page numberrequired
first_page numberrequired
first_page_url stringrequired
last_page_url stringrequired
next_page_url stringnullablerequired
previous_page_url stringnullablerequired
data
object
id number
product_id string
quantity number
created_by_id string
reservation_id numbernullable
order_id string
created_at date-time
updated_at date-time
{
"meta": {
"total": 0,
"per_page": 0,
"current_page": 0,
"last_page": 0,
"first_page": 0,
"first_page_url": "string",
"last_page_url": "string",
"next_page_url": "string",
"previous_page_url": "string"
},
"data": {
"id": 9,
"product_id": 4,
"quantity": 4000,
"created_by_id": "1",
"reservation_id": 2,
"order_id": "37",
"created_at": "2024-08-03T21:19:40.356+03:00",
"updated_at": "2024-08-03T21:42:05.503+03:00"
}
}
Loading...