Notifications

Render a draft HTTP body with sample data

POST
/v1/stores/{storeId}/notifications/http-bodies/{event}/preview

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/http-bodies/string/preview" \  -H "Content-Type: application/json" \  -d '{    "template": {      "fields": [        {          "key": "string",          "type": "text",          "value": "string"        }      ]    }  }'
{  "body": {    "property1": null,    "property2": null  }}