PaidGoods
API referenceStorefront

Save your version of an email template

PUT
/v1/stores/{storeId}/storefront/emails/{key}

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
key*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/storefront/emails/string" \  -H "Content-Type: application/json" \  -d '{    "subject": "string",    "body": "string"  }'
{  "ok": true}