Ticket
Fetch Tickets
GET
https://app.clubcollect.com/api/v2/invoices/:id/tickets
Path Parameters
Name | Type | Description |
---|---|---|
id* | string | ID of Invoice for which Tickets wish to be fetched. |
Query Parameters
Name | Type | Description |
---|---|---|
api:key | string | Partner API Key (Deprecated) |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | ApiKey <api_key> |
Content-Type* | string | Must be |
Create Ticket
POST
https://app.clubcollect.com/api/v2/invoices/:id/tickets
Create a support Ticket for an Invoice.
Path Parameters
Name | Type | Description |
---|---|---|
id* | string | ID for the Invoice to which the Ticket should be attached. |
Query Parameters
Name | Type | Description |
---|---|---|
api:key | string | Partner API Key (Deprecated) |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | ApiKey <api_key> |
Content-Type* | string | Must be |
Request Body
Name | Type | Description |
---|---|---|
message* | string | Contents of the Ticket. |
Archive Ticket
POST
https://app.clubcollect.com/api/v2/invoices/:id/tickets/actions/archive
Archive all Tickets for an Invoice.
Path Parameters
Name | Type | Description |
---|---|---|
id* | string | ID of the Invoice for which Tickets should be archived. |
Query Parameters
Name | Type | Description |
---|---|---|
api:key | string | Partner API Key (Deprecated) |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | ApiKey <api_key> |
Content-Type* | string | Must be |
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
Name | Type | Description |
---|---|---|
id* | string | ID of Invoice for which Tickets should be assigned to Support. |
Query Parameters
Name | Type | Description |
---|---|---|
api:key | string | Partner API Key (Deprecated) |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | ApiKey <api_key> |
Content-Type* | string | Must be |
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
Name | Type | Description |
---|---|---|
status* | string | One of: |
id* | string | ID of Company for which Tickets should be fetched. |
Query Parameters
Name | Type | Description |
---|---|---|
api:key | string | Partner API Key (Deprecated) |
page:number | integer | Page number. If it's not given, default to |
page:size | integer | Number of results per page. If it's not given, defaults to |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | ApiKey <api_key> |
Last updated