Ticket

Fetch Tickets

GET https://app.clubcollect.com/api/v2/invoices/:id/tickets

Path Parameters

Query Parameters

Headers

"tickets": [
  {
   "ticket_id": "...",
   "message": "I don't want to pay",
   "sender": "CUSTOMER",
   "date": "..."
  },
  {
   "ticket_id": "...",
   "message": "Please pay before the 30th",
   "sender": "COMPANY",
   "date": "..."
   }
]

Create Ticket

POST https://app.clubcollect.com/api/v2/invoices/:id/tickets

Create a support Ticket for an Invoice.

Path Parameters

Query Parameters

Headers

Request Body

{
  "ticket_id": "...",
  "message": "Please pay before the 30th",
  "sender": "COMPANY",
  "date": "..."
}

Archive Ticket

POST https://app.clubcollect.com/api/v2/invoices/:id/tickets/actions/archive

Archive all Tickets for an Invoice.

Path Parameters

Query Parameters

Headers

Assign Ticket to Support

POST https://app.clubcollect.com/api/v2/invoices/:id/tickets/actions/assign:to:support

Assign Tickets for an Invoice to ClubCollect Support Team.

Path Parameters

Query Parameters

Headers

Fetch All Tickets

GET https://app.clubcollect.com/api/v2/companies/:id/tickets/:status

Returns the list of tickets linked to a company, filtered by Ticket status, paginated and sorted in ascending order, i.e. from oldest to newest.

Path Parameters

Query Parameters

Headers

"tickets": [
  {
   "invoice_id": "...",
   "ticket_id": "...",
   "message": "I don't want to pay",
   "sender": "CUSTOMER",
   "date": "..."
  },
  {
   "invoice_id": "...",
   "ticket_id": "...",
   "message": "Please pay before the 30th",
   "sender": "COMPANY",
   "date": "..."
   }
]
"page": {
  "page_number": 1,
  "page_size": 12,
  "total_entries": 53,
  "total_pages": 5
}

Last updated