Associates
note
Account Management API is now deprecated and we recommend that you use Account Management functionality built into Elastic Path Commerce 8.2 and later.
The associates
resource family is responsible for creating, viewing, and editing the list of associates.
Search Associates
Retrieve all associates matching the keywords in the search criteria, submitted using the associatesearchform
.
Workflow
- Start with root
- Read link following rel:
searches
- Read link following rel:
associatesearchform
- Fill out the form
- Create form to link rel:
associatesearchaction
Read List Of Associates
Retrieve the full paginated list of associates.
Workflow
- Start with root
- Read link following rel:
associates
- Render response
Read An Associate
Retrieve the details for an associate.
Workflow
- Start with associates-search-results
- Read link following rel:
element
- Render response
Response Fields
Name | Description | Type |
---|---|---|
name | Associate’s name | String |
Read an Associate’s Primary Email
Read or retrieve an associate’s primary-email address
Workflow
- Start with associate
- Read link following rel:
primaryemail
- Render response
Response Fields
Name | Description | Type |
---|---|---|
email | The email address | String |
Add a New Associate
Add an associate to the system. You may want to add an associate to the system before assigning them to a division or an organization. However, it is not mandatory.
Workflow
- Start with root
- Read link following rel:
associates
- Read link following rel:
associateform
- Fill out the form
- Create form to link rel:
addassociateaction
Add Associate To Organization
Add an associate to an organization. You may want to add an associate to an organization before assigning them to a division and giving them a role to perform actions on behalf of that division. However, it is not mandatory. When you add an associate to an organization they are also added to the system list.
Workflow
- Start with organization
- Read link following rel:
associates
- Read link following rel:
associateform
- Fill out the form
- Create form to link rel:
addassociateaction
Add Associate To Division
Add an associate to a division and give them a role. When you add an associate to a division they are also added to both the organization’s associates and to the system list.
Workflow
- Start with division
- Read link following rel:
associates
- Read link following rel:
associateform
- Fill out the form
- Create form to link rel:
addassociateaction