Light Mode
List Quantity Audit
GET
/products/quantities/auditLast modified: a month ago
This endpoint allows you to retrieve audited changes in product quantities.
Request
Query Params
keyword
string
optional
Search using a keyword
Example:
phones
categories
array[string]
optional
Fetch products included in specific category based on the category ID. Get a list of Category IDs from here
Example:
["categories[]=43957834"]
brands
array[string]
optional
Fetch products included in specific brand based on the brand ID. Get a list of Brand IDs from here
Example:
["brands[]=43957834"]
tags
array[string]
optional
Fetch products included in specific tags based on the tag ID. Get a list of Tag IDs from here
Example:
["tags[]=43957834"]
branch
integer
optional
Fetch products included in specific branch based on the branch ID. Get a list of Branch IDs from here
Example:
branch=43957834
Request samples
Responses
Success(200)
unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 2015276628,
"name": "كتاب الخوارزميات",
"image": "https://img.youtube.com/vi/42-k6YQLa_I/mqdefault.jpg",
"sku": null,
"created_at": "2024-08-22",
"old_quantity": 27,
"new_quantity": 29,
"variant": null,
"unlimited_quantity": false,
"reason": "تصحيح",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1724121935,
"name": "كتاب الخوارزميات",
"image": "https://img.youtube.com/vi/42-k6YQLa_I/mqdefault.jpg",
"sku": null,
"created_at": "2024-08-20",
"old_quantity": 115,
"new_quantity": 65,
"variant": null,
"unlimited_quantity": false,
"reason": "إعادة تخزين",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1809389117,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": "SKKR",
"created_at": "2024-06-27",
"old_quantity": 16,
"new_quantity": 14,
"variant": "red-L",
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 436008764,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": null,
"created_at": "2024-06-27",
"old_quantity": 21,
"new_quantity": 19,
"variant": null,
"unlimited_quantity": false,
"reason": "منتجات تالفة",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 79326263,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": "SKKR",
"created_at": "2024-06-27",
"old_quantity": 16,
"new_quantity": 22,
"variant": "blue-small",
"unlimited_quantity": false,
"reason": "زيادة في المخزن",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 719146294,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": null,
"created_at": "2024-06-27",
"old_quantity": 21,
"new_quantity": 19,
"variant": null,
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1729697987,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": "SKKR",
"created_at": "2024-06-18",
"old_quantity": 1,
"new_quantity": 3,
"variant": "black-Xlarge",
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 356317634,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": null,
"created_at": "2024-06-18",
"old_quantity": 6,
"new_quantity": 8,
"variant": null,
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 995613377,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": "SKKR",
"created_at": "2024-06-18",
"old_quantity": 3,
"new_quantity": 1,
"variant": "red-medium",
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1770699712,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": null,
"created_at": "2024-06-18",
"old_quantity": 8,
"new_quantity": 6,
"variant": null,
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 531471559,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": "SKKR",
"created_at": "2024-06-18",
"old_quantity": 2,
"new_quantity": 3,
"variant": "red-small",
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1304919494,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": null,
"created_at": "2024-06-18",
"old_quantity": 7,
"new_quantity": 8,
"variant": null,
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1164912883,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": "SKKR",
"created_at": "2024-06-18",
"old_quantity": 4,
"new_quantity": 3,
"variant": "red-large",
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
},
{
"id": 1803684338,
"name": "Product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/3d2b9bb2-528c-406e-8eb6-5b1c87038317-500x333.33333333333-pSTnvE7jS8iI4V4wjxutnULFvjVoLydQxueIR5qc.jpg",
"sku": null,
"created_at": "2024-06-18",
"old_quantity": 9,
"new_quantity": 8,
"variant": null,
"unlimited_quantity": false,
"reason": "",
"user": {
"id": 525144736,
"type": "user",
"first_name": "Joseph"
}
}
],
"cursor": {
"current": 1,
"previous": null,
"next": null,
"count": 14
}
}
Last modified: a month ago