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
GET
the link with rel: searchesGET
the link with rel: associatesearchform- Fill out the form.
POST
the form using the link with rel: associatesearchaction
Read List Of Associates
Retrieve the full paginated list of associates.
Workflow
- Start with root
GET
the link with rel: associates- Render the response.
Read An Associate
Retrieve the details for an associate.
Workflow
- Start with associates-search-results
GET
the link with rel: element- Render the response.
Response Fields
Type: elasticpath.associates.associate
Name | Description | Type |
---|---|---|
name | Associate’s name. | string |
Read Associate Primary Email
Read the associate’s primary-email.
Workflow
- Start with associate
GET
the link with rel: primaryemail- Render the response.
Response Fields
Type: emails.email
Name | Description | Type |
---|---|---|
The email address. | string |
Add New Associate
Add an associate to the system. You may want to add an associate to the system before assigning them to an account. However, it is not mandatory.
Workflow
- Start with root
GET
the link with rel: associatesGET
the link with rel: associateform- Fill out the form.
POST
the form using the link with rel: addassociateaction
Add Associate To Account
Add an associate to an account and give them a role.
Workflow
- Start with account
GET
the link with rel: associateroleassignmentsGET
the link with rel: associateform- Fill out the form.
POST
the form using the link with rel: addassociateaction
Read Associates For An Account
Retrieve list of associates for an account.
Workflow
- Start with account
GET
the link with rel: associateroleassignments- Render the response.
Read An Associate Roles For Account
Retrieve an associate and their role info on an account.
Workflow
- Start with associates-for-account
GET
the link with rel: element- Render the response.
Read List Of Associate Roles
Retrieve the list of roles an associate has on an account.
Workflow
- Start with associate-roles-for-account
GET
the link with rel: roleinfoGET
the link with rel: roles- Render the response.
Select A Role For Associate
Select a role for an associate on an account.
Workflow
- Start with associate-roles-for-account
GET
the link with rel: roleinfoGET
the link with rel: selectorGET
the link with rel: choice- Render the response.
Delete Associate From Account
Remove an associate and all their roles from an account.
Workflow
- Start with associates-for-account
DELETE
associates-for-account