Account and profile

Manage customer account details.

Retrieving a customer profile

get

Retrieves a customer profile.

Note: The request needs to be authorized with a customer access token or an anonymous access token.


Required scopes

No specific scopes are required.

Authorizations
AuthorizationstringRequired

To generate a customer access token, go to the 'Logging in a customer' endpoint.

Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Query parameters
expandstringOptional

List of additional attributes to be retrieved, separated by commas. Possible value to be passed in this parameter is addresses. To expand mixins, use the * character: mixin:*.

Example: addresses,mixin:*
Responses
200

OK

application/json
get
/customer/{tenant}/me

Deleting a customer profile

delete

Deletes a customer profile and the account associated with it.

Note: The request needs to be authorized with a customer access token.


Required scopes

No specific scopes are required.

Authorizations
AuthorizationstringRequired

To generate a customer access token, go to the 'Logging in a customer' endpoint.

Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Query parameters
tokenstringOptional

Token received by the customer through email.

Responses
delete
/customer/{tenant}/me

No content

Updating a customer profile

patch

Updates a customer profile.

Note: The request needs to be authorized with a customer access token.


Required scopes

No specific scopes are required.

Authorizations
AuthorizationstringRequired

To generate a customer access token, go to the 'Logging in a customer' endpoint.

Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Body
Responses
200

OK

No content

patch
/customer/{tenant}/me

No content

Assigning an account to a customer profile

post

Assigns a customer account to the customer profile.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

To generate a customer access token, go to the 'Logging in a customer' endpoint.

Path parameters
tenantstringRequired
Body
emailstring · min: 1Required

Customer email address.

passwordstring · min: 6Required

Customer account password.

Responses
post
/customer/{tenant}/me/accounts/internal

Last updated

Was this helpful?