Company & tickets
Company
Section titled “Company”GET /company returns the company the API key belongs to:
nameandlegal_name, and theregistration_numberfor its country (SIREN in France, CRN in the UK, EIN in the US).countryof the head office and itscurrency: use that currency for catalog pricing and carts.acquisition_mode:LEASINGorBUY, the mode carts are priced in. See Carts & orders.hrms_integration: the connected HR software, ornull.
Support tickets
Section titled “Support tickets”Tickets are support requests to Fleet.
GET /ticketslists the company’s tickets, newest first. Filter withstatus(WAITING_CLIENTmeans Fleet is waiting for your answer),requester_id,category, orreference.GET /tickets/:ticket_idreturns one ticket with itsmessages, the replies after the opening request, oldest first.from_fleetistruefor Fleet support’s replies;content_typehtml_bodymeans thecontentis HTML.POST /ticketsopens one and requires WRITE. Send therequester_id(an employee or admin Fleet support answers), asubject, thecontent, and optionally acategoryand theorder_idordevice_idit is about.PATCH /tickets/:ticket_idwithstatus: "SOLVED"closes a ticket and requires WRITE.POST /tickets/:ticket_id/messagesreplies and requires WRITE. Send theauthor_id(an employee or admin of the company) and thecontent. The ticket moves toWAITING_FLEET, reopening it if it was solved.
The response’s reference is the one Fleet support quotes in its replies.
TICKET_CREATION_FAILED (502) means Fleet support could not receive the ticket and nothing was created: retry later. TICKET_SYNC_FAILED (502) means Fleet support could not receive the close or the reply and nothing changed: retry later. A reply to a ticket whose reference starts with hub- gets it too, until Fleet support has received the ticket.
Next steps
Section titled “Next steps”- API reference — Company and Tickets tags.

