curl --request PUT \
--url https://storekit.samarthh.me/v1/user/store/{storeId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Store Name",
"description": "Updated description",
"address": "456 Updated Street, New City, State 67890",
"favicon": "https://example.com/new-favicon.ico",
"logoBlackWhite": "https://example.com/new-logo-bw.png",
"logoColoured": "https://example.com/new-logo-color.png",
"socialMediaUrls": {
"facebook": "https://facebook.com/updatedstore",
"twitter": "https://twitter.com/updatedstore",
"linkedin": "https://linkedin.com/company/updatedstore"
},
"whatsappNumber": "+0987654321",
"gstNumber": "33BBBBB1111B2Y6",
"mobile": "+0987654321",
"landline": "+0987654322",
"contactEmail": "[email protected]",
"supportEmail": "[email protected]"
}
'Update store details including all configuration options. Only owner can update. All fields are optional - only send what you want to update.
curl --request PUT \
--url https://storekit.samarthh.me/v1/user/store/{storeId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Store Name",
"description": "Updated description",
"address": "456 Updated Street, New City, State 67890",
"favicon": "https://example.com/new-favicon.ico",
"logoBlackWhite": "https://example.com/new-logo-bw.png",
"logoColoured": "https://example.com/new-logo-color.png",
"socialMediaUrls": {
"facebook": "https://facebook.com/updatedstore",
"twitter": "https://twitter.com/updatedstore",
"linkedin": "https://linkedin.com/company/updatedstore"
},
"whatsappNumber": "+0987654321",
"gstNumber": "33BBBBB1111B2Y6",
"mobile": "+0987654321",
"landline": "+0987654322",
"contactEmail": "[email protected]",
"supportEmail": "[email protected]"
}
'