Skip to main content
PATCH
/
tickets
/
{id}
/
deactivate
Deactivate a ticket
curl --request PATCH \
  --url https://api.market.iventou.com.br/tickets/{id}/deactivate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reason": "Describe here what's reason to deactivate this ticket"
}
EOF

Authorizations

Authorization
string
header
required

Token from partner authetnication

Path Parameters

id
string
required

Body

application/json
owner_id
string<uuid>
required
reason
string
required
Example:

"Describe here what's reason to deactivate this ticket"

Response

204

Ticket deactivated successful