> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportTicketMergeInput

> The ticket to merge in, and what the ticket that stays ends up with. An omitted field takes the help desk merge's default.

**assignee** `[SupportTicketAssigneeInput](/docs/api-reference/v3/reference/support/support-ticket-assignee-input)`

A team member on the store's team, or UNASSIGNED. AI\_AGENT is rejected. Omitted: this ticket's assignee stays.

**fields**

**teamMemberId** `ID`

A TeamMember id. Required with TEAM\_MEMBER, rejected otherwise. They must be on the store's team.

**type** `[SupportTicketAssigneeTarget!](/docs/api-reference/v3/reference/support/support-ticket-assignee-target)` *required*

Who the ticket goes to.

**customerId** `ID`

The Customer this ticket ends up with: the customer of this ticket or of the source. Omitted: the customer they share, or the one of them that has one; when they have different customers, it's required. Any other customer fails with BAD\_USER\_INPUT.

**priority** `[SupportTicketPriority](/docs/api-reference/v3/reference/support/support-ticket-priority)`

NORMAL clears the priority and URGENT sets it. Omitted: this ticket's priority stays.

**sourceId** `ID!` *required*

The ticket merged into this one. It closes as a duplicate (CLOSED, closureReason DUPLICATE), its tags are added to this ticket, and its `mergedInto` is this ticket. It must be another ticket of the store's.

**status** `[SupportTicketStatus](/docs/api-reference/v3/reference/support/support-ticket-status)`

OPEN, IN\_PROGRESS, CLOSED or ARCHIVED. Omitted: OPEN when the source is OPEN and this ticket isn't, else this ticket's status. SNOOZED and DRAFT are rejected: a merge can't set when a snooze ends.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.