PaidGoods
API referenceStorefront themes

Save a theme file by path

PUT
/v1/stores/{storeId}/storefront/themes/{themeId}/file

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
themeId*string

Query Parameters

path*string
Length1 <= length <= 200

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/themes/string/file?path=string" \  -H "Content-Type: application/json" \  -d '{    "content": "string"  }'
{  "ok": true}