Delete

[POST] .../v1/tag/delete

Deletes price tag template. Use this destructive method to delete a price tag template that should no longer be available for label printing. The method validates id, checks price tag delete permission 129, deletes the template through the persistent layer and returns row_affected. The request body is required and id must be positive. Missing body, invalid id, denied permission, already deleted or missing template and database errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required Price tag template ID.

Request Example

{
  "id": 3
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Update Update operation result.

Response Example

{
  "ok": true,
  "result": {
    "row_affected": 1,
    "ids": []
  }
}