Delete

[POST] .../v1/brand/delete

Deletes brand. Delete a brand that should no longer be available for item cards or catalog filters. It requires a positive id and returns row_affected after the method checks whether removal is allowed. The caller must have brand delete permission; missing body, invalid id, denied access, related item restrictions, missing records and storage errors are returned as HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
id Int64 Required Brand ID. The value must be greater than 0.

Request Example

{
  "id": 12
}

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
  }
}