Raw schema
{
"type": "object",
"properties": {
"status": {
"description": "Only tickets with this status.",
"type": "string",
"enum": [
"Scheduled",
"Spam",
"Unread",
"Read",
"Unpriority",
"Priority",
"Archived",
"Open",
"Pending",
"Closed"
]
},
"type": {
"description": "Only tickets of this type.",
"type": "string",
"enum": [
"BuyerNotes",
"Cancellation",
"Chat",
"Chatbot",
"ContactBuyer",
"ContactForm",
"DefectiveItemReceived",
"FeedbackReply",
"Incident",
"InvoiceRequest",
"NegativeFeedback",
"OfferQuery",
"OrderAdjustment",
"OrderClaim",
"OrderQuery",
"OrderShippingInquiry",
"PaymentsQuery",
"Presales",
"ProductQuery",
"PublicMessage",
"Query",
"Refund",
"ResolutionCase",
"ReturnRequest",
"ReturnsQuery",
"SampleQuery",
"ShippingQuery",
"SystemMessage",
"WrongItemReceived"
]
},
"channel_id": {
"description": "Only tickets on this channel (see edesk_list_channels).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"contact_id": {
"description": "Only tickets of this contact (customer).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"owner_user_id": {
"description": "Only tickets assigned to this user.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"sales_order_id": {
"description": "Only tickets linked to this eDesk sales order id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"seller_order_id": {
"description": "Only tickets for this marketplace order id (the id the marketplace shows).",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"updated_after": {
"description": "Only tickets last updated on or after this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"updated_before": {
"description": "Only tickets last updated on or before this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"order_by": {
"description": "Sort field.",
"type": "string",
"enum": [
"id",
"created_at",
"last_updated_at"
]
},
"order_direction": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000
},
"items_per_page": {
"description": "Results per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}