Skip to content

Commit

Permalink
Update conversations.php (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
scr4bble authored and bkuhl committed Mar 26, 2019
1 parent 1616691 commit 1069006
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions examples/conversations.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@

// Update conversation
$conversationId = 12;
$client->moveConversation($conversationId, 18);
$client->updateConversationSubject($conversationId, 'Need more help please');
$client->updateConversationCustomer($conversationId, 6854);
$client->publishConversationDraft($conversationId);
$client->updateConversationStatus($conversationId, 'closed');
$client->assignConversation($conversationId, 127);
$client->unassignConversation($conversationId);
$toMailboxId = 18;
$newCustomerId = 6854;
$assigneeId = 127;
$client->conversations()->move($conversationId, $toMailboxId);
$client->conversations()->updateSubject($conversationId, 'Need more help please');
$client->conversations()->updateCustomer($conversationId, $newCustomerId);
$client->conversations()->publishDraft($conversationId);
$client->conversations()->updateStatus($conversationId, 'closed');
$client->conversations()->assign($conversationId, $assigneeId);
$client->conversations()->unassign($conversationId);
$conversationId = 662118787;

// Update custom fields on a conversation
Expand Down

0 comments on commit 1069006

Please sign in to comment.