Addresses

Manage customer address information.

Retrieving customer addresses

get

Retrieves a list of addresses for a customer.

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]+$
Responses
200

OK

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

Adding a customer address

post

Adds an address to 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
contactNamestringOptional
companyNamestringOptional
streetstringOptional
streetNumberstringOptional
streetAppendixstringOptional
extraLine1stringOptional
extraLine2stringOptional
extraLine3stringOptional
extraLine4stringOptional
zipCodestringOptional
citystringOptional
countrystringOptional
statestringOptional
contactPhonestringOptional
tagsstring[]Optional
Responses
post
/customer/{tenant}/me/addresses

Retrieving a customer address

get

Retrieves a specified customer address and its details.

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
addressIdstring · min: 1Required

Address unique identifier generated when the address is added to a customer profile.

tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

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

OK

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

Deleting a customer address

delete

Deletes a specified customer address and accounts 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
addressIdstring · min: 1Required

Address unique identifier generated when the address is added to a customer profile.

tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Responses
delete
/customer/{tenant}/me/addresses/{addressId}

No content

Updating a customer address

patch

Updates a specified customer address.

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
addressIdstring · min: 1Required

Address unique identifier generated when the address is added to a customer profile.

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/addresses/{addressId}

No content

Adding tags to a customer address

post

Adds tags to a specified customer address.

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]+$
addressIdstring · min: 1Required

Address unique identifier generated when the address is added to a customer profile.

Query parameters
tagsstring · min: 1Required

List of address tags, separated by commas.

Example: BILLING,SHIPPING
Responses
post
/customer/{tenant}/me/addresses/{addressId}/tags

No content

Deleting tags from a customer address

delete

Deletes tags from a specified customer address.

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]+$
addressIdstring · min: 1Required

Address unique identifier generated when the address is added to a customer profile.

Query parameters
tagsstring · min: 1Required

List of address tags, separated by commas.

Example: BILLING,SHIPPING
Responses
delete
/customer/{tenant}/me/addresses/{addressId}/tags

No content

Last updated

Was this helpful?