Light Mode
List Product Quantities
GET
/products/quantitiesLast modified: 9 hours ago
This endpoint allows you to fetch a list of products quantities
Request
Query Params
keyword
string
optional
Search using a keyword
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 Product 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)
unautorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Success
{
"status": 200,
"success": true,
"data": [
{
"id": 1541523973,
"name": "فستان",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/ACknxzEIkcTdaFr1DETbQlXo5UwupBedJ9ZGyR8v.jpg",
"sku_id": 1804462637,
"sku": null,
"quantity": 0,
"price": "299.00",
"unlimited_quantity": true,
"variant": "44 - XL"
},
{
"id": 761810984,
"name": "Variant product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"sku_id": 822792308,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": true,
"variant": "White - Medium - 12 PCs"
},
{
"id": 761810984,
"name": "Variant product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"sku_id": 47710069,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": true,
"variant": "White - Medium - 24 PCs"
},
{
"id": 761810984,
"name": "Variant product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"sku_id": 1555832438,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": true,
"variant": "White - Large - 1 PCs"
},
{
"id": 761810984,
"name": "Variant product",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"sku_id": 781794679,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": true,
"variant": "White - Large - 12 PCs"
},
{
"id": 761810984,
"name": "T-Shirt",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6QDfgdca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"sku_id": 2019974256,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": true,
"variant": "White - Large - 24 PCs"
},
{
"id": 1969594838,
"name": "BenQ Monitor",
"image": "",
"sku_id": null,
"sku": "",
"quantity": 100,
"price": 3200,
"unlimited_quantity": false,
"variant": null
},
{
"id": 578835251,
"name": "Mouse",
"image": "https://cdn.salla.sa/VXWrx/cNX0O1TGlm9pMqGFLEpjLRsoDoHyqPhiRJw7rNhL.png",
"sku_id": 2101189545,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": false,
"variant": "black - small"
},
{
"id": 578835251,
"name": "test cinfig",
"image": "https://cdn.salla.sa/VXWrx/cNX0O1TGlm9pMfgEfejLRsoDoHyqPhiRJw7rNhL.png",
"sku_id": 1327151786,
"sku": null,
"quantity": 0,
"price": 0,
"unlimited_quantity": false,
"variant": "yellow - small"
},
{
"id": 1835408106,
"name": "test variable",
"image": "",
"sku_id": 624931309,
"sku": null,
"quantity": 4,
"price": "500.00",
"unlimited_quantity": false,
"variant": "XL - black"
},
{
"id": 1835408106,
"name": "test variable",
"image": "",
"sku_id": 1876700541,
"sku": null,
"quantity": 5,
"price": "250.00",
"unlimited_quantity": false,
"variant": "XL - red"
},
{
"id": 365113875,
"name": "Samsung Charger",
"image": "",
"sku_id": null,
"sku": "",
"quantity": 0,
"price": 120,
"unlimited_quantity": false,
"variant": null
},
{
"id": 2086964817,
"name": "iPhone case",
"image": "",
"sku_id": null,
"sku": "",
"quantity": 12,
"price": 0,
"unlimited_quantity": false,
"variant": null
}
],
"pagination": {
"count": 15,
"total": 45,
"perPage": 15,
"currentPage": 2,
"totalPages": 3,
"links": {
"next": "http://api.salla.dev/admin/v2/products/quantities?page=3",
"previous": "http://api.salla.dev/admin/v2/products/quantities?page=1"
}
}
}
Last modified: 9 hours ago