/tickets/{ticket_id}/change_typeChange a ticket's type
Changes a ticket to a different ticket type and sets a state for that type. The new ticket type must be in the same category as the current type, and matching attributes transfer automatically. Values supplied in ticket_attributes override transferred values.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The new ticket type and state, with optional attribute values for the ticket.
2 documented failures
parameter_not_foundticket_type_id is a required parameter
parameter_invalidCannot change to the same ticket type
One documented failure
unauthorizedAccess Token Invalid
One documented failure
not_foundResource Not Found
A 400 is returned when the request is invalid, including when the new ticket type is not in the same category as the current type. A 401 is returned when the request is unauthorized, and a 404 is returned when the ticket is not found. Include both required body fields, ticket_type_id and ticket_state_id; the ticket_id path parameter must identify the ticket to change.