Alerts
Stock and price alert subscriptions
Retrieves active stock availability alerts created by the shopper.
Page number (1-indexed)
1Number of results per page
20Filter alerts by product identifier
123456Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Product alerts listed
Authentication required
GET /wishlists/product-alerts/ HTTP/1.1
Host: sandbox.akinon.com
X-Cookie: osessionid=abc123
Accept: */*
{
"count": 3,
"next": "https://sandbox.akinon.com/wishlists/product-alerts/?page=2",
"previous": null,
"results": [
{
"pk": 84,
"product": {
"pk": 221133,
"name": "Smart Watch X",
"sku": "SW-X-BLACK",
"base_code": "SWX",
"price": "1999.00",
"retail_price": "2499.00",
"currency_type": "TRY",
"in_stock": true,
"stock": 12,
"absolute_url": "https://sandbox.akinon.com/product/smart-watch-x/",
"productimage_set": [
{
"pk": 4455,
"image": "https://cdn.akinon.com/images/products/smart-watch-x.png",
"order": null,
"specialimage_set": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
],
"productvideo_set": [
{
"pk": 1,
"video": "https://example.com"
}
],
"is_ready_to_basket": true,
"extra_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"basket_offers": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
}
]
}Creates a stock availability alert for the given product.
Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Product identifier to monitor for restock events
221133Alert created
Request payload validation error
Authentication required
Alert already exists
POST /wishlists/product-alerts/ HTTP/1.1
Host: sandbox.akinon.com
X-Cookie: osessionid=abc123
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"product": 221133
}{
"pk": 84,
"product": {
"pk": 221133,
"name": "Smart Watch X",
"sku": "SW-X-BLACK",
"base_code": "SWX",
"price": "1999.00",
"retail_price": "2499.00",
"currency_type": "TRY",
"in_stock": true,
"stock": 12,
"absolute_url": "https://sandbox.akinon.com/product/smart-watch-x/",
"productimage_set": [
{
"pk": 4455,
"image": "https://cdn.akinon.com/images/products/smart-watch-x.png",
"order": null,
"specialimage_set": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
],
"productvideo_set": [
{
"pk": 1,
"video": "https://example.com"
}
],
"is_ready_to_basket": true,
"extra_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"basket_offers": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
}Alert identifier
Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Alert removed
Authentication required
Alert not found
DELETE /wishlists/product-alerts/{pk}/ HTTP/1.1
Host: sandbox.akinon.com
X-Cookie: osessionid=abc123
Accept: */*
No content
Retrieves price-drop alerts configured by the shopper.
Page number (1-indexed)
1Number of results per page
20Filter alerts by product identifier
123456Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Price alerts listed
Authentication required
GET /wishlists/price-alerts/ HTTP/1.1
Host: sandbox.akinon.com
X-Cookie: osessionid=abc123
Accept: */*
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"pk": 99,
"product": 221133
}
]
}Creates a new price alert or updates the existing one for the same product.
Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Existing alert identifier (send to update)
99Product identifier to monitor for price changes
221133Price alert saved
Request payload validation error
Authentication required
POST /wishlists/price-alerts/ HTTP/1.1
Host: sandbox.akinon.com
X-Cookie: osessionid=abc123
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"pk": 99,
"product": 221133
}{
"pk": 99,
"product": 221133
}Last updated
Was this helpful?

