Skip to content

Delete Store

Soft delete a store account. Requires authentication.

Endpoint

DELETE /v1/accounts/store/?id={store_id}

Authentication

Required

Query Parameters

Parameter Type Required Description
id integer Yes Store ID to delete

Response

Success (200 OK)

{
  "message": "Store Successfully deleted"
}

Error Responses

Store Not Found (404)

{
  "error": "Store not found"
}

Missing ID Parameter (400)

{
  "message": "Param not send!"
}

Example Request

curl -X DELETE "https://api.luxmart.site/v1/accounts/store/?id=1" \
  -H "Authorization: Token your_access_token"

Notes

  • Performs a soft delete (sets is_deleted: true)
  • Store data is not permanently removed
  • Deleted stores cannot login or be retrieved