curl --request PUT \
--url https://storekit.samarthh.me/v1/api/store/{storeId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated via API Key",
"description": "Updated using API key authentication",
"address": "789 API Street, API City, State 13579",
"favicon": "https://example.com/api-favicon.ico",
"logoBlackWhite": "https://example.com/api-logo-bw.png",
"logoColoured": "https://example.com/api-logo-color.png",
"socialMediaUrls": {
"website": "https://mystore.com",
"youtube": "https://youtube.com/@mystore"
},
"whatsappNumber": "+1122334455",
"gstNumber": "44CCCCC2222C3X7",
"mobile": "+1122334455",
"landline": "+1122334456",
"contactEmail": "[email protected]",
"supportEmail": "[email protected]"
}
'Update store using API key authentication. Requires WRITE permission. All fields are optional - only send what you want to update.
curl --request PUT \
--url https://storekit.samarthh.me/v1/api/store/{storeId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated via API Key",
"description": "Updated using API key authentication",
"address": "789 API Street, API City, State 13579",
"favicon": "https://example.com/api-favicon.ico",
"logoBlackWhite": "https://example.com/api-logo-bw.png",
"logoColoured": "https://example.com/api-logo-color.png",
"socialMediaUrls": {
"website": "https://mystore.com",
"youtube": "https://youtube.com/@mystore"
},
"whatsappNumber": "+1122334455",
"gstNumber": "44CCCCC2222C3X7",
"mobile": "+1122334455",
"landline": "+1122334456",
"contactEmail": "[email protected]",
"supportEmail": "[email protected]"
}
'