Users
This endpoint fetches information about the current user.
Fields
username
- type: String
This field is the username of the currently logged in user.
email
- Type: String
The email address of the currently logged in user.
first_name
- Type: String
The first name of the currently logged in user.
last_name
- Type: String
The last name of the currently logged in user.
customer_info
- Type: Object or
null
The Southware customer currently associated with the logged in user. A customer can have many users. A user will not have a customer associated with it if created through the ItemExtend administrative interface. Typically, this means Admins will not have a customer associated with them by default. you can easily associate one with them if you so choose.
Fields:
purchase_order_required- Type: Boolean
- Denotes if the customer requires a purchase order number
contact_email- Type: String
- This is the email address for the customer account in southware
name- Type: String
- Company Name
contact_fax- Type: String
- Fax for the company contact
sales_rep- Type: String
- 3 letter string to denote the sales person for this customer
contact_name- Type: String
- Name of the customer contact. can be different from the user.
contact_phone- Type: String
- Phone number of the customer contact
customer_number- Type: String
- The southware customer number.
Endpoints
list
GET /api/users/
Returns an array containing all of the userdata related to the currently logged in user. This array will only have 1 entry.
