This method has the URL
https://api.toptranslation.com/v1/users/me
and returns information about the user.
Returns a user object.
{
meta: {
status: 200
},
data:
{
identifier: '9159ee23-92md-74ds-b912-57a51715dda4',
first_name: 'John',
last_name: 'Doe',
name: 'John Doe',
email: 'john.doe@example.com',
title: '',
position: 'Chief Technical Officer',
gender: 'male',
image_url: 'https://files.toptranslation.com/documents/...',
phone: null,
time_zone: 'Berlin',
open_offers_count: 0,
locale: {
code: 'de',
name: 'German'
}
}
}
The attribute
open_offers_count
is the curent number of orders with an open quote from Toptranslation for the user.