Changing the status

Changing the status

Hi, 
i want to change the status of a sales order in CRM to delivered when ever a ticket in zoho desk was closed.
How can i do that?
can anyone help me with the function?