List Quantity Audit
GET
/products/quantities/auditThis endpoint allows you to retrieve audited changes in product quantities.
Request
Search using a keyword
Fetch products included in specific category based on the category ID. Get a list of Category IDs from here
Fetch products included in specific brand based on the brand ID. Get a list of Brand IDs from here
Fetch products included in specific tags based on the tag ID. Get a list of Tag IDs from here
Fetch products included in specific branch based on the branch ID. Get a list of Branch IDs from here
Request samples
Responses
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
The Product ID, a unique identifier or code assigned to a specific product within a database, inventory system, or catalog to distinguish it from other products and enable efficient tracking and management. List of Product ID can be found here.
A succinct label for a specific item, aiding in easy identification and categorization within a product listing.
The web addresses or hyperlinks that point to the online locations of images associated with the product, making it possible to display those images on websites, e-commerce platforms, or other online channels.
Stock Keeping Unit. It's a unique code assigned to a specific product variant to identify and track inventory levels.
A specific point in time, typically expressed in terms of a calendar system, including the day, month, and year.
Previous quantity value
Current quantity value
Option to indicate the product is of unlimited quantity
Reason for quantity update
The user responsible for the changes
For a better response behavior as well as maintain the best security level, All retrieving API endpoints use a mechanism to retrieve data in chunks called pagination. Pagination working by return only a specific number of records in each response, and through passing the page number you can navigate the different pages.
Number of returned results.
Number of all results.
Number of results per page.
Number of current page.
Number of total pages.
Array of linkes to next and previous pages.
{
"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
}
}