Endpoint notifications.products marks a notification as read / unread
AMALYZE Falcon API
notifications.products (UPDT)
Endpoint
Endpoint
UPDT notifications.products
Example call
Shell
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  | 
						curl https://falcon.amalyze.com/<VERSION>/notifications.products \ -H "X-Falcon-Token: <YOUR-TOKEN-HERE>" \ -X UPDATE \ -d ' { 	"notifications": [ 		{ 			"marketplace": "A1RKKUPIHCS9HS",  			"id": "asfas", 			"read": true 		}, 		{ 			"marketplace": "A1PA6795UKMFR9", 			"id": "p3VrK2kBmCTDDpjWmJdv", 			"read": false 		} 	] }'  | 
					
JSON Payload
JavaScript
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
						{ 	"notifications": [ 		{ 			"marketplace": "A1RKKUPIHCS9HS",  			"id": "asfas", 			"read": true 		}, 		{ 			"marketplace": "A1PA6795UKMFR9", 			"id": "p3VrK2kBmCTDDpjWmJdv", 			"read": false 		} 	] }  | 
					
| Property | Type | Description | Further information | 
notifications | array | Array containing notification objects | |
notificaitons.marketplace | string | String containing the marketplace id | valid marketplaces ids | 
notifications.id | string | String containing the notification id | obtained from notifications.products (POST) | 
notifications.read | boolean | Boolean, indicating if the notifications shall be marked as read / unread | 
JSON Response
JavaScript
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  | 
						{     "request": {         "id": "97595904-103d-4df2-8286-8d313f55e3e7",         "took": 0.1843,         "costs": 0,         "remaining": 100000,         "method": "notifications.products",         "success": true,         "error": {             "code": null,             "message": null,             "hint": null         },         "cache": {             "cached": false,             "id": null         }     } }  | 
					
| Property | Type | Description | 
request | object | The request information object (see request information object definition for more information) | 
Updates / Changes
| Version | Description | 
| 0.2.4 | created | 
