AlphaAlpha Docs

Clear all inventory data for a tenant

Deletes all stock inventory and stock transaction records for a tenant. Super admin only.

DELETE
/tenants/{tenantId}/data/inventory
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/tenants/string/data/inventory"
{
  "deletedCount": 0,
  "entityType": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}