PaidGoods
API referenceMarketing

Render an email preview with sample values and the compliance footer

POST
/v1/stores/{storeId}/marketing/preview

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/marketing/preview" \  -H "Content-Type: application/json" \  -d '{    "subject": "string",    "bodyHtml": "string"  }'
{  "subject": "string",  "html": "string"}