---
title: "Edit ticket"
method: PATCH
path: "/2/etickets/ticket"
tags: ["Ticket"]
---

# Edit ticket

`PATCH /2/etickets/ticket`

This endpoint allow you to edit ticket information

## Request body

- object
  - `tickets` object[]
    - `hardware` string, nullable
    - `id` number, double, required — Unique identifier of the resource `{name}`
    - `label` string, nullable
    - `show_price` boolean, nullable
    - `show_tariff` boolean, nullable
    - `status` '"1"' | '"11"' | '"12"' | '"13"' | '"2"' | '"20"' | '"8"', nullable — Status of the resource `{name}`

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
