{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can change the type of a ticket. The new ticket type must be in the same category as the current type. Attributes matching by name and type are automatically transferred from the old type; values provided in ticket_attributes override transferred values.","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"ticket_id":{"type":"string","description":"The unique identifier for the ticket which is given by Intercom."}},"required":["ticket_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/change_ticket_type_request","examples":[{"ticket_type_id":"1234","ticket_state_id":"5678"}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"change_ticket_type_request":{"title":"Change Ticket Type Request","description":"You can change the type of a Ticket","type":"object","properties":{"ticket_type_id":{"type":"string","description":"The ID of the new ticket type. Must be in the same category as the current type.","examples":["1234"]},"ticket_state_id":{"type":"string","description":"The ID of the ticket state for the new ticket type.","examples":["5678"]},"ticket_attributes":{"type":"object","description":"The attributes to set on the ticket for the new type. Attributes matching by name and type are transferred automatically from the old type; values provided here override the transferred values.","examples":[{"_default_title_":"example","_default_description_":"having a problem"}]}},"required":["ticket_type_id","ticket_state_id"]}}},"name":"Change ticket type","id":"intercom.changetickettype","example":{"path":{"ticket_id":"example"}},"maxRequests":1,"summary":false}}