Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Product Notifications
  • Start Here 🚀
  • Overview to Zid Apps
  • Authorization
  • Responses
  • Webhooks
  • Rate Limiting
  • APIs
    • Orders
      • Update Order by ID
      • Get Order Credit Notes
      • Get Order by ID
      • List of Orders
    • Reverse Orders
      • Reverse Order Reasons
      • Create Reverse Orders
      • Create Reverse Orders Waybill
      • Add Reverse Order Reasons
    • Carts
      • Get Abandoned Cart Details
      • List Abandoned Carts
    • Products
      • Managing Products
        • Get a Product by ID
        • Retrieve a list of products
        • Create a new product
        • Update an existing product.
        • Bulk update of products using their IDs or SKUs
        • Delete a product.
        • Product Setting
      • Digital Vouchers
        • Product Vouchers
        • Order Voucher
        • Add Product Voucher
        • Import Vouchers
        • Export Vouchers
        • Update Product Voucher
        • Remove Product Voucher
      • Product Categories
        • Get Single Category Details
        • Get all categories
        • Create Store Category
        • Update a Store Category
        • Add a product to a certain category
        • Publish/Unpublish a Category
        • Detach Category from All Products
        • Remove Category from Product
      • Product Badge
        • Product Badge
      • Product Attributes
        • Get Product Attributes
        • Get Product Attributes
        • Retrieve a product attribute
        • Add a New Product Attribute
        • Add a New Product Attribute
        • Update a product attribute
        • Delete a product attribute
      • Product Attribute Presets
        • Get attribute presets
        • Create Attribute Preset
        • Update Attribute Preset
        • Delete an attribute preset
      • Product Customizations
        • Add Product Variants
        • Insert Custom Options to a Product
        • Insert Custom User-Input Fields to a Product
      • Product Manual Sorting
        • Set Custom Product Order
        • Reset the manual sorting of all products
      • Product Images
        • Get List of images of a product.
        • Add an image to a product
        • Update a product Image Order
        • Delete a product image
      • Product Notifications
        • Availability Notification Stats
          GET
        • Availability Notifications Settings
          GET
        • List Availability Notifications
          GET
        • Add Availability Notification
          POST
        • Save Availability Notifications Settings
          POST
        • Manually Send Availability Notification Email
          POST
        • Export Availability Notifications
          POST
      • Product Import
        • Email All Products to Store Owner
        • Import Products via CSV or xlsx File
      • Product Stock (Multi-Inventory)
        • Get Product Stock by ID
        • List Product Stocks
        • Add Product Stock
        • Update Single Product Stock
        • Bulk Update Product Stocks
      • Product Questions & Answers
        • Get Question
        • Get Answer
        • Get All Questions
        • List Question Answers
        • Create Question
        • Create Answer
        • Update Question
        • Update Answer
        • Delete Question
        • Delete Answer
      • Product Reviews
        • List Reviews
        • New Reviews Total
      • Digital Products
        • Create Downloadable Product
        • Generate an Upload URL
        • Upload File to S3
        • Create Product Downloadables
        • Get Product Downloadables
        • Delete Product Downloadables
        • Get Store Downloadables
        • Create Store Downloadables
        • Delete Store Downloadables
    • Inventories
      • Get Store Location by ID
      • List Store Locations
      • Add a New Location
      • Update a Location by ID
      • Update Products Stock by Location ID
    • Shipping
      • List Store Delivery Options
      • Add Shipping Option
    • Marketing
      • Gift Cards
        • Get Store Settings
        • Add gift card to the cart
        • Update Store Settings
        • Upload gift card designs
        • Remove gift card from the cart
      • Coupons
        • Create a New Coupon
        • List Coupons
        • Get Coupon Details
        • Update Coupon
        • Delete Coupon
      • Bundle Offers
        • Retrieve all Bundle Offers
      • Loyalty Program
        • Loyalty Program Points per Order
        • Store Loyalty Status
        • Info Page
        • Loyalty Program Activation
        • Loyalty Status
        • Set Points Expiration
        • Cashback Rule Method Update
        • Cashback Rule Method Update Status
        • Add Points Redemption Method
        • Update Points Redemption Method
        • Delete Points Redemption Method
        • Toggle Redemption Method Status
        • Show Loyalty Points Info for Specific Customer
        • Customer Profile
        • List Data
        • Customer Points History
        • Info Page - Managers
        • Update Info Page
        • Adjust Customer Points
    • Customers
      • List of Customers
      • Get Customer by ID
    • Store Settings
      • 📄 User Roles and Permissions
      • Get Manager's Profile
      • Get VAT Settings
      • List of Payment Method
    • Countries and Cities
      • Retrieve Store Operating Countries
      • Retrieve Cities by Country ID
      • Countries List
    • Webhook
      • List of Webhooks
      • Create a Webhook
      • Delete a Webhook by OriginalId
      • Delete a Webhook by Subscriber
  • Store Events
    • Order
    • Product
    • Abandoned Cart
    • Customer
    • Product Category
  1. Product Notifications

List Availability Notifications

GET
https://api.zid.sa/v1/products/notifications/
Product Notifications
Retrieve a list of availability notifications.
🔑Scopes
products.read - Products Read

Request

Query Params
q
string 
optional
This parameter is used for searching by product name. It allows partial or full matches with the product name in the specified language.
Example:
سينامون كيك
product_id
string 
optional
This parameter filters the results to include only those notifications related to the specified product ID.
Example:
b1804aca-0adf-4eb1-bb43-8b8625c87bd4
created_at__gte
string 
optional
This parameter filters the results to include only those notifications created on or after the specified datetime.
Example:
2024-02-15T21:00:52Z
created_at__lte
string 
optional
This parameter filters the results to include only those notifications created on or before the specified datetime.
Example:
2024-02-16T21:00:52Z
page
string 
optional
This parameter specifies the page number of the results to retrieve. It is used for pagination purposes.
Example:
1
page_size
string 
optional
This parameter specifies the number of results to include per page. It is used for pagination purposes.
Example:
10
Header Params
Access-Token
string 
required
An Access Token is a unique string that represents the authorization granted to a client (Partner application) by a user (Merchant or Store Manager) to access their protected resources. It is part of the OAuth 2.0 standard and is used to authenticate API requests on behalf of the user. Access Tokens have a limited lifespan and must be used within their validity period. Once expired, a new Access Token can be obtained using a Refresh Token. Access Tokens should be treated as sensitive information and must be kept secure to prevent unauthorized access to the user's data. If you do not have an Access-Token, but have the older alternative instead, i.e., the X-Manager-Token, then see the instructions here on how to obtain the Access-Token.
Example:
eyJpdiI6Imh3L2dGbmJmRnVCOUY4WW5WQ2s3RFE9PSIsInZhbHVlIjoiZklpRnJyVGV1OWcrZUJBNk44bVp5SjZzSS92V3czcTJjbnJ2dFYvenZ3SFBtWHNSMFU3ZEMzZ0ZJNnpucVE4Ui9rNFdicUduOGpKUlg1VXdGOFFIaVUzZjZyUUZybWx3R0tNY3orUmxoUUUxQ29wSkEyVDZTVnVYb2dlUXJSVzBYVkdESjBpS0xiN05Hbndzc2wzV2N0YitGM1NEdkk4ckZZOTZsTFdEL1ZQRlJJTE5FQmttZng2elpwL1RCeXFRdUd1U3JTc0FHV1kySS80RFJaWlIyZ3gwM2FsQVRFbkt3VWtFOUQyKzdGOD0iLCJtYWMiOiJmZDQ0YzM4ODE0OWQxOWRhYWU0NDhhYmIzYzQ1MDAxMDAzODZjZGM3ZGM4NGJhMGNkMDEyYWZlM2UzYjAxMTI4IiwidGFnIjoiIn0=
Store-Id
number 
required
Example:
37213
Role
enum<string> 
required
Role of the user.
Allowed value:
Manager
Example:
Manager
Content-Type
enum<string> 
required
The Media Type of the body of the request. This is used to describe the structure of the data in the body.
Allowed values:
application/jsonmultipart/form-dataapplication/x-www-form-urlencoded
Default:
application/json
Body Params multipart/form-data
email
string 
optional
Email address of the customer.
Example:
test@test.com
language
string 
optional
Language preference of the customer.
Example:
ar

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 --request GET 'https://api.zid.sa/v1/products/notifications/?q&product_id&created_at__gte&created_at__lte&page&page_size' \
--header 'Access-Token: eyJpdiI6Imh3L2dGbmJmRnVCOUY4WW5WQ2s3RFE9PSIsInZhbHVlIjoiZklpRnJyVGV1OWcrZUJBNk44bVp5SjZzSS92V3czcTJjbnJ2dFYvenZ3SFBtWHNSMFU3ZEMzZ0ZJNnpucVE4Ui9rNFdicUduOGpKUlg1VXdGOFFIaVUzZjZyUUZybWx3R0tNY3orUmxoUUUxQ29wSkEyVDZTVnVYb2dlUXJSVzBYVkdESjBpS0xiN05Hbndzc2wzV2N0YitGM1NEdkk4ckZZOTZsTFdEL1ZQRlJJTE5FQmttZng2elpwL1RCeXFRdUd1U3JTc0FHV1kySS80RFJaWlIyZ3gwM2FsQVRFbkt3VWtFOUQyKzdGOD0iLCJtYWMiOiJmZDQ0YzM4ODE0OWQxOWRhYWU0NDhhYmIzYzQ1MDAxMDAzODZjZGM3ZGM4NGJhMGNkMDEyYWZlM2UzYjAxMTI4IiwidGFnIjoiIn0=' \
--header 'Store-Id;' \
--header 'Role;' \
--form 'email="test@test.com"' \
--form 'language="ar"'

Responses

🟢200Successfully retrieved the details of the availability notification.
application/json
Body
count
integer 
optional
Total number of availability notifications.
Example:
10
next
null 
optional
URL to the next page of results, if applicable.
previous
null 
optional
URL to the previous page of results, if applicable.
results
array [object {9}] 
optional
List of availability notification objects.
id
string 
optional
Unique identifier for the availability notification.
Example:
"8e4a8335-2338-4bc7-9a66-8551719eac14"
product_id
string 
optional
Unique identifier for the product related to the notification.
Example:
"a4dcde12-dc23-4339-aa00-bc66d4cda6fd"
product_name
object 
optional
Localized names of the product.
customer
object 
optional
Information about the customer who subscribed to the notification.
language
string 
optional
Language preference of the customer.
Example:
ar
is_notified
boolean 
optional
Indicates whether the customer has been notified.
Default:
false
image
null 
optional
URL to the product image, if available.
created_at
string 
optional
Timestamp when the notification was created.
Example:
"2024-07-16T10:22:52.919750Z"
updated_at
string 
optional
Timestamp when the notification was last updated.
Example:
"2024-08-16T10:22:52.919750Z"
Example
{
  "count": 10,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "\"8e4a8335-2338-4bc7-9a66-8551719eac14\"",
      "product_id": "\"a4dcde12-dc23-4339-aa00-bc66d4cda6fd\"",
      "product_name": {
        "ar": "\"2test\""
      },
      "customer": {
        "id": null,
        "name": "\"test\"",
        "email": " \"m.basideq@test.com\"",
        "phone_number": null
      },
      "language": "ar",
      "is_notified": false,
      "image": null,
      "created_at": "\"2024-07-16T10:22:52.919750Z\"",
      "updated_at": "\"2024-08-16T10:22:52.919750Z\""
    }
  ]
}
Modified at 2025-01-22 08:04:42
Previous
Availability Notifications Settings
Next
Add Availability Notification
Built with