Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Developers/API/store_page_create
Store

Create store page

Create a page in Markdown with its own SEO.

POST/store/pagesstore:write
BEHAVIOR

The change is validated and persisted in the key account before responding. Query the returned resource as the source of truth.

EFFECT

It can change the resource and emit the corresponding domain event.

REPETITION

On network failure, confirm the resource status before retrying. Automatically redo only 429 and 5xx with backoff and jitter.

Request

titlestring · bodyPublic title of the page.minLength 2 · maxLength 160mandatory
slugstring · bodySingle public slug.maxLength 80optional
summarystring · bodyPage summary.maxLength 500optional
bodystring · bodyPage content in Markdown.maxLength 50000optional
coverstring · bodyHTTPS cover image.urioptional
seo_titlestring · bodyTitle for search engines.maxLength 70optional
seo_descriptionstring · bodyDescription for search engines.maxLength 180optional
publishedboolean · bodyPublish the page.optional
AuthorizationBearer ach_live_...
Acceptapplication/json
Scopestore:write

Executable example

curl
curl -X POST 'https://achadu.com/api/v1/store/pages' \
  -H 'Authorization: Bearer ach_live_...' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "title": "Air fryer 5L",
  "slug": "string",
  "summary": "string",
  "body": "string"
}'

Response and errors

Every response includes request_id. Lists add pagination; mutable resources return the persisted state after the operation.

201 application/json
{
  "data": {
    "id": "site_01J...",
    "subdomain": "mystore",
    "name": "Ana's Finds",
    "theme": "light",
    "active": 1,
    "domain_verified": 1
  },
  "created": true,
  "request_id": "req_01J..."
}
201Resource created and persisted.
400Invalid parameter, body or transition.
401Missing, invalid, expired or revoked key.
402The account plan does not release this interface.
403A chave precisa do escopo store:write.
404Feature does not exist in this account.
409The current state prevents this operation.
413The JSON body exceeds 128 KB.
429The 120 requests per minute window has been exceeded.