Notifications

Send a draft push message with sample data to your browsers

POST
/v1/stores/{storeId}/notifications/push-messages/{event}/test

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 POST "https://example.com/v1/stores/string/notifications/push-messages/string/test" \  -H "Content-Type: application/json" \  -d '{    "template": {      "title": "string",      "body": "string",      "url": "string"    }  }'
{  "sent": -9007199254740991,  "results": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "ok": true,      "error": "string"    }  ]}