I'm attempting to access support tickets via the API but no matter the request I keep getting the following error:
object(BlestaResponse)#7 (2) {
["raw":"BlestaResponse":private]=>
string(68) "{"message":"The requested resource does not exist.","response":null}"
["response_code":"BlestaResponse":private]=>
int(404)
}
Example Request:
function getTicket($id) {
$data = [
'ticket_id' => $id,
'get_replies' => true,
'reply_types' => null,
'staff_id' => null
];
$response = $this->api->get("support_manager.support_manager_tickets", "get", $data);
var_dump($response);
return $response;
}
Can someone please advise?
Cheers