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"
}
}
'Create or update content/documentation for a store (requires store owner authentication)
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"
}
}
'