Shops
Delete my shop
DELETE
/api/v1/seller/shop/:idDeletes one of the seller's own shops. Only allowed while DRAFT or SUSPENDED — a PUBLISHED shop must be unpublished or suspended first.
Requires Authorization
SELLER only
Authenticated action
Path parameters
idstringrequired | Shop ID. |
Request
curl --request DELETE \
--url https://api.swiftgoma.com/api/v1/seller/shop/:id \
--header 'Authorization: Bearer <access_token>'200Example response
{
"success": true,
"data": {
"deleted": true
}
}