curl --request POST \
--url https://storekit.samarthh.me/v1/user/store/{storeId}/members \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"role": "MEMBER",
"permissions": [
"READ",
"WRITE"
]
}
'Add a new member to the store. Requires MANAGE_MEMBERS permission.
curl --request POST \
--url https://storekit.samarthh.me/v1/user/store/{storeId}/members \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"role": "MEMBER",
"permissions": [
"READ",
"WRITE"
]
}
'