Skip to main content
POST
/
v1
/
store
/
{storeId}
/
admin
/
content
Create/Update Content
curl --request POST \
  --url https://storekit.samarthh.me/v1/store/{storeId}/admin/content \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileKey": "about-us",
  "fileData": {
    "title": "About Us",
    "content": "Welcome to our store...",
    "lastUpdated": "2024-01-01"
  }
}
'

Headers

Authorization
string

Session token from login

Content-Type
string

Path Parameters

storeId
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response