Notifications

Save an event’s browser push message

PUT
/v1/stores/{storeId}/notifications/push-messages/{event}

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
event*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/notifications/push-messages/string" \  -H "Content-Type: application/json" \  -d '{    "template": {      "title": "string",      "body": "string",      "url": "string"    }  }'
{  "event": "string",  "notification": {    "name": "string",    "sellauthName": "string"  },  "template": {    "title": "string",    "body": "string",    "url": "string"  },  "customised": true,  "defaultTemplate": {    "title": "string",    "body": "string",    "url": "string"  },  "limits": {    "property1": -9007199254740991,    "property2": -9007199254740991  },  "variables": [    {      "key": "string",      "label": "string",      "sample": "string"    }  ],  "sampleValues": {    "property1": "string",    "property2": "string"  }}