List Availability Notifications
GET
v1/products/notifications/Retrieve a list of availability notifications.
Request
This parameter is used for searching by product name. It allows partial or full matches with the product name in the specified language.
This parameter filters the results to include only those notifications related to the specified product ID.
This parameter filters the results to include only those notifications created on or after the specified datetime.
This parameter filters the results to include only those notifications created on or before the specified datetime.
This parameter specifies the page number of the results to retrieve. It is used for pagination purposes.
This parameter specifies the number of results to include per page. It is used for pagination purposes.
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
.
Role of the user.
The Media Type of the body of the request. This is used to describe the structure of the data in the body.
Email address of the customer.
Language preference of the customer.
Request samples
Responses
Total number of availability notifications.
URL to the next page of results, if applicable.
URL to the previous page of results, if applicable.
List of availability notification objects.
Unique identifier for the availability notification.
Unique identifier for the product related to the notification.
Localized names of the product.
Information about the customer who subscribed to the notification.
Language preference of the customer.
Indicates whether the customer has been notified.
URL to the product image, if available.
Timestamp when the notification was created.
Timestamp when the notification was last updated.
{
"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\""
}
]
}