Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Product Quantity
  • Welcome 👋
  • Get Started
  • Create Your First App
  • Authorization
  • Webhooks
  • Conditional Webhooks
  • Security Considerations
  • Multi-Language Support
  • Responses
  • Pagination
  • Rate Limiting
  • Versioning
  • Change Log
  • Support
  • APIs
    • Orders
      • Create Order
      • List Orders
      • Order Details
      • Create Drafted Order
      • Update Order
      • Duplicate Order
      • Order Actions
    • Order Status
      • Update Order Status
      • Create Custom Order Status
      • List Order Statuses
      • Order Status Details
      • Update Custom Order Status
      • Update Bulk Orders Statuses
      • Sort Orders Statuses
    • Order Histories
      • List Order Histories
      • Create Order History
    • Order Tags
      • Create Order Tag
      • List Order Tags
      • Delete Order Tag
    • Order Invoice
      • Create Invoice
      • List Invoices
      • Invoice Details
      • Send Order Invoice
      • Create Order Invoice
    • Order Reservations
      • List Order Reservations
    • Order Items
      • List Order Items
      • Create Order Item
      • Update Order Item
      • Delete Order Item
    • Products
      • Create Product
      • List Products
      • Product Details
      • Update Product
      • Delete Product
      • Change Product Status
      • Product Details By SKU
      • Update Product By SKU
      • Delete Product By SKU
      • Update Product Price By SKU
      • Update Bulk Product Prices
      • Import Products
      • Bulk Product Actions
    • Product Options
      • Create Product Option
      • Product Option Details
      • Update Product Option
      • Delete Product Option
    • Product Quantity
      • List Product Quantities
        GET
      • Update Bulk Quantities
        POST
      • List Quantity Change Reasons
        GET
      • List Quantity Audit
        GET
      • Update Bulk Quantities by SKU
        POST
      • Update Quantity
        PUT
      • Update Quantity By SKU
        PUT
    • Product Variants
      • List Product Variants
      • Product Variant Details
      • Update Product Variant
      • Update Product Variant Quantity
    • Product Tags
      • Create Product Tag
      • List Product Tags
    • Product Images
      • Attach Image by SKU
      • Attach Video by SKU
      • Attach Youtube Video
      • Attach Image
      • Update Image
      • Delete Image
    • Product Option Values
      • Create Product Option Value
      • Product Option Value Details
      • Update Product Option Value
      • Delete Product Option Value
    • Abandoned Carts
      • List Abandoned Carts
      • Abandoned Cart Details
    • Customer Groups
      • Create Customer Group
      • List Customer Groups
      • Add Customers To Group Customer
      • Update Default Customer Group
      • Update Customer Group
      • Delete Customer Group
    • Customers
      • Create Customer
      • List Customers
      • Customer Details
      • Update Customer
      • Delete Customer
      • Ban Customer
      • Un-Ban customer
      • Import Customers
    • Digitals Product
      • Attach Digital Code
      • Attach Digital File
      • Delete Digital File
    • Categories
      • Create Category
      • List Categories
      • Category Details
      • Update Category
      • Delete Category
      • Category Children
      • Categories Search
      • List Category Products
    • Exports
      • Export Orders
      • Exports Logs
      • List Export Templates
      • Create Export Template
      • Update Export Template
      • Delete Export Template
      • List Export Columns
      • Export Customers
      • Export Custom URLs
      • Export Products
    • Shipments
      • Create Shipment
      • List Shipments
      • Shipment Details
      • Shipment Tracking
      • Update Shipment Details
      • Cancel Shipment
      • Return Shipment
    • Shipping Companies
      • List Shipping Companies
      • Shipping Company Details
      • List Estimate Rates
      • Create Shipping Company
      • Update Shipping Company
      • Delete Shipping Company
      • Shipping Company Options
    • Shipping Zones
      • Create Shipping Zone
      • List Shipping Zones
      • Shipping Zone Details
      • Update Shipping Zone
      • Delete Shipping Zone
    • Shipping Rules
      • List Shipping Rules
      • Shipping Rule Details
      • Delete Shipping Rule
    • Countries
      • List Countries
      • Country Details
    • Product Option Templates
      • List Option Templates
      • Option Template Details
      • Delete Option Template
      • Update Option Template
      • Create Option Template
    • Taxes
      • Create Tax
      • List Taxes
      • Tax Details
      • Update Tax
      • Delete Tax
    • Coupons
      • Create Coupon
      • List Coupons
      • Coupon Details
      • Update Coupon
      • Delete Coupon
      • List Coupon Codes
    • Affiliates
      • List Affiliates
      • Affiliate Details
      • Create Affiliate
      • Update Affiliate
      • Delete Affiliate
    • Order Assignment
      • List Auto Assignment Rules
      • Order Assigned Employees Details
      • Update Auto Assignment Rule
      • Create Auto Assignment Rules
    • Special Offers
      • Create Special Offer
      • List Special Offers
      • Special Offer Details
      • Update Special Offer
      • Delete Special Offer
      • Change Special Offer Status
    • Transactions
      • List Transactions
      • Transaction Details
      • Update Transaction
    • Payments
      • Available Payment Methods
      • List Banks
      • Payment Bank Details
    • Settlements
      • List Instant Settlements
      • Create Instant Settlement
      • Update Instant Settlement
      • Instant Settlement Details
    • Settings
      • Settings List
      • Update Setting Slug
      • Setting Details
    • Merchant
      • User Information Details
      • Store Information
    • Brands
      • Create Brand
      • List Brands
      • Brand Details
      • Update Brand
      • Delete Brand
    • Branches
      • Create Branch
      • List Branches
      • Branch Details
      • Update Branch
      • Delete Branch
    • Currencies
      • Activate Currencies
      • List Currencies
      • List Available Currencies
    • SEO
      • List SEO Settings
      • Update SEO Settings
    • Cities
      • List Cities
    • DNS Records
      • List DNS Records
      • Create DNS Record
      • Delete DNS Record
    • Languages
      • Add Language
      • List Languages
      • Update Language
    • Employees
      • List Employees
    • Advertisements
      • Create Advertisement
      • List Advertisements
      • Advertisement Details
      • Update Advertisement
      • Delete Advertisement
    • Webhooks
      • List Active Webhooks
      • List Events
      • Register Webhook
      • Deactivate Webhook
      • Update Webhook
    • Custom URLs
      • Import Custom URLs
    • Loyalty Points
      • Customer Loyalty Points
      • Update Customer Loyalty Points
    • Reviews
      • List Reviews
      • Review Details
      • Update Review
  • Webhooks - Store Events
    • Order
    • Product
    • Customer
    • Shippings
    • Shipments
    • Brand
    • Invoice
    • Category
    • Store
    • Special Offer
    • Cart
    • Miscellaneous
  1. Product Quantity

List Quantity Audit

Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
GET
https://api.salla.dev/admin/v2
/products/quantities/audit
Product Quantity
Last modified:2025-01-20 07:25:03
This endpoint allows you to retrieve audited changes in product quantities.
Scopes
products.read- Products Read Only

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
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

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.salla.dev/admin/v2/products/quantities/audit?keyword=phones&categories=categories[]=43957834&brands=brands[]=43957834&tags=tags[]=43957834&branch=branch=43957834'

Responses

🟢200Success
application/json
Body
status
number 
required
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.
success
boolean 
required
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.
data
array[object (QuantityAudit) {10}] 
required
id
integer 
required
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.
name
string 
required
A succinct label for a specific item, aiding in easy identification and categorization within a product listing.
image
string 
required
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.
sku
string  | null 
required
Stock Keeping Unit. It's a unique code assigned to a specific product variant to identify and track inventory levels.
created_at
string 
required
A specific point in time, typically expressed in terms of a calendar system, including the day, month, and year.
old_quantity
integer 
required
Previous quantity value
new_quantity
integer 
required
Current quantity value
unlimited_quantity
boolean 
required
Option to indicate the product is of unlimited quantity
reason
string 
required
Reason for quantity update
user
object 
required
The user responsible for the changes
pagination
object (Pagination) 
required
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.
count
number 
required
Number of returned results.
total
number 
required
Number of all results.
perPage
number 
required
Number of results per page.
<= 65
currentPage
number 
required
Number of current page.
totalPages
number 
required
Number of total pages.
links
object 
required
Array of linkes to next and previous pages.
Example
{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": 2015276628,
      "name": "كتاب الخوارزميات",
      "image": "https://img.youtube.com/vi/42-k6YQLa_I/mqdefault.jpg",
      "sku": "23-TD23-32",
      "created_at": "2024-08-22",
      "old_quantity": 27,
      "new_quantity": 29,
      "variant": "blue-small",
      "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": "23-TD23-32",
      "created_at": "2024-08-20",
      "old_quantity": 115,
      "new_quantity": 65,
      "variant": "arabic",
      "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": "SKKR",
      "created_at": "2024-06-27",
      "old_quantity": 21,
      "new_quantity": 19,
      "variant": "blue-small",
      "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": "SKKR",
      "created_at": "2024-06-27",
      "old_quantity": 21,
      "new_quantity": 19,
      "variant": "red-L",
      "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": "SKKR",
      "created_at": "2024-06-18",
      "old_quantity": 6,
      "new_quantity": 8,
      "variant": "red-L",
      "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": "23-TD23-32",
      "created_at": "2024-06-18",
      "old_quantity": 8,
      "new_quantity": 6,
      "variant": "red-L",
      "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": "SKKR",
      "created_at": "2024-06-18",
      "old_quantity": 7,
      "new_quantity": 8,
      "variant": "red-L",
      "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": "23-TD23-32",
      "created_at": "2024-06-18",
      "old_quantity": 9,
      "new_quantity": 8,
      "variant": "blue-small",
      "unlimited_quantity": false,
      "reason": "",
      "user": {
        "id": 525144736,
        "type": "user",
        "first_name": "Joseph"
      }
    }
  ],
  "cursor": {
    "current": 1,
    "previous": 0,
    "next": 1,
    "count": 14
  }
}
🟠401unauthorized
Modified at 2025-01-20 07:25:03
Previous
List Quantity Change Reasons
Next
Update Bulk Quantities by SKU