Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 748 Bytes

SUPPORTS_API.md

File metadata and controls

31 lines (21 loc) · 748 Bytes

Supports API

For detailed usage please see examples for each method.

Add Supports Ticket

Creates supports ticket (authorization is required).

<?php

require '../../vendor/autoload.php';

$renderforestClient = new \Renderforest\ApiClient(
    'your-api-key',
    'your-client-id'
);

$supportTicket = new \Renderforest\Support\SupportTicket();
$supportTicket
    ->setMailType($supportTicket::MAIL_TYPE_SALES)
    ->setSubject('subject 1')
    ->setMessage('message 1');

$supportTicketResponse = $renderforestClient->createSupportTicket($supportTicket);

See add supports ticket example

⬆ back to the top