Download OpenAPI specification:Download
Create, manage, and delete customer profiles.
Note: This part of the Customer Service is managed by tenant's employees on behalf of the customers. Actions can be performed in Emporix Management Dashboard directly, or by integrating the Emporix API Customer Service with a third-party application.
Key Features:
Key Benefits:
Retrieves a list of customer profiles.
customer.customer_read_own
scope allows customers to read profiles from another customers within the same company.
customer.customer_read
customer.customer_read_own
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
[- {
- "title": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "contactPhone": "123456789",
- "company": "Emporix",
- "preferredLanguage": "en_US",
- "preferredCurrency": "EUR",
- "preferredSite": "main",
- "mixins": { },
- "metadata": {
- "mixins": { },
- "version": 6
}, - "customerNumber": "13869000",
- "id": "13869000",
- "contactEmail": "example@customer.com",
- "active": true,
- "onHold": false,
- "businessModel": "B2B",
- "b2b": {
- "companyRegistrationId": "123-456-789",
- "legalEntities": [
- {
- "id": "D165356",
- "name": "BMW",
- "contactAssignmentId": "D436432"
}
]
}
}
]
Creates a new customer.
customer.customer_manage_own
scope allow customers to create a new customer. Such customer will be automatically assigned to the customer's company.
customer.customer_manage
customer.customer_manage_own
Created
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
{- "contactEmail": "john.doe@emporix.com",
- "title": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "contactPhone": "123456789",
- "company": "Emporix",
- "preferredLanguage": "en_US",
- "preferredCurrency": "EUR",
- "preferredSite": "main",
- "b2b": {
- "companyRegistrationId": "123-456-789"
}
}
{- "id": "34751075"
}
Updates a specified customer's profile or creates a new one if it doesn't exist yet.
customer.customer_manage_own
scope allows to update customer's profiles from the same company.
customer.customer_manage
or customer.customer_manage_own
Created
No Content - update has been successful
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
{- "contactEmail": "example@customer.com"
}
{- "id": "34751075"
}
Updates a specified customer's profile.
customer.customer_manage_own
scope allows to update customer's profiles from the same company.
customer.customer_manage
customer.customer_manage_own
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Customer with the specified customerNumber
doesn't exist.
{- "contactEmail": "example@customer.com",
- "active": true
}
{- "type": "bad_request",
- "status": 400,
- "message": "The tenant information provided with the request is not valid."
}
Retrieves a specified customer's profile.
customer.customer_read_own
scope allows customers to read the specified profiles from another customers within the same company.
customer.customer_read
customer.customer_read_own
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Customer with the specified customerNumber
doesn't exist.
{- "title": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "contactPhone": "123456789",
- "company": "Emporix",
- "preferredLanguage": "en_US",
- "preferredCurrency": "EUR",
- "preferredSite": "main",
- "metadata": {
- "version": 6
}, - "customerNumber": "13869000",
- "id": "13869000",
- "contactEmail": "example@customer.com",
- "active": true,
- "onHold": false,
- "businessModel": "B2B",
- "b2b": {
- "companyRegistrationId": "123-456-789",
- "legalEntities": [
- {
- "id": "D165356",
- "name": "BMW",
- "contactAssignmentId": "D436432"
}
]
}
}
Deletes a specified customer's profile and accounts associated with it.
customer.customer_manage_own
scope allows customers to delete a customer only if the customer has been assigned to the same company.
customer.customer_manage
customer.customer_manage_own
Accepted
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Customer with the specified customerNumber
doesn't exist.
{- "type": "bad_request",
- "status": 400,
- "message": "The tenant information provided with the request is not valid."
}
Assigns a customer account to an existing customer profile.
customer.customer_manage
Created
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Customer with the specified customerNumber
doesn't exist.
{- "email": "john.doe@example.com"
}
{- "id": "13869000"
}
Retrieves a list of addresses for a specified customer.
customer.customer_read
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Not Found
[- {
- "contactName": "John Doe",
- "companyName": "Emporix",
- "street": "Platz der Republik",
- "streetNumber": "1",
- "streetAppendix": "",
- "extraLine1": "",
- "extraLine2": "",
- "extraLine3": "",
- "extraLine4": "",
- "zipCode": "11011",
- "city": "Berlin",
- "country": "DE",
- "state": "Berlin",
- "contactPhone": "123456789",
- "tags": [
- "BILLING",
- "SHIPPING"
], - "id": "b05c20e034",
- "isDefault": true
}
]
Adds an address to a specified customer's profile.
customer.customer_manage
Created
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Customer with the specified customerNumber
doesn't exist.
{- "contactName": "John Doe",
- "companyName": "Emporix",
- "street": "Platz der Republik",
- "streetNumber": "1",
- "streetAppendix": "",
- "extraLine1": "",
- "extraLine2": "",
- "extraLine3": "",
- "extraLine4": "",
- "zipCode": "11011",
- "city": "Berlin",
- "country": "DE",
- "state": "Berlin",
- "contactPhone": "123456789",
- "tags": [
- "BILLING",
- "SHIPPING"
], - "isDefault": true
}
{- "id": "e6eae2c789"
}
Updates a specified customer's address or creates a new one if it doesn't exist yet.
customer.customer_manage
Created
No Content - update has been successful
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
{- "contactName": "John Doe",
- "companyName": "Emporix",
- "street": "Platz der Republik",
- "streetNumber": "1",
- "streetAppendix": "",
- "extraLine1": "",
- "extraLine2": "",
- "extraLine3": "",
- "extraLine4": "",
- "zipCode": "11011",
- "city": "Berlin",
- "country": "DE",
- "state": "Berlin",
- "contactPhone": "123456789",
- "tags": [
- "BILLING",
- "SHIPPING"
], - "isDefault": true
}
{- "id": "e6eae2c789"
}
Updates a specified customer address.
customer.customer_manage
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
{- "contactName": "John Doe",
- "companyName": "Emporix",
- "street": "Platz der Republik",
- "streetNumber": "1",
- "streetAppendix": "",
- "extraLine1": "",
- "extraLine2": "",
- "extraLine3": "",
- "extraLine4": "",
- "zipCode": "11011",
- "city": "Berlin",
- "country": "DE",
- "state": "Berlin",
- "contactPhone": "123456789",
- "tags": [
- "BILLING",
- "SHIPPING"
], - "isDefault": true
}
{- "type": "bad_request",
- "status": 400,
- "message": "The tenant information provided with the request is not valid."
}
Retrieves a specified customer address and its details.
customer.customer_read
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
{- "contactName": "John Doe",
- "companyName": "Emporix",
- "street": "Platz der Republik",
- "streetNumber": "1",
- "streetAppendix": "",
- "extraLine1": "",
- "extraLine2": "",
- "extraLine3": "",
- "extraLine4": "",
- "zipCode": "11011",
- "city": "Berlin",
- "country": "DE",
- "state": "Berlin",
- "contactPhone": "123456789",
- "tags": [
- "BILLING",
- "SHIPPING"
], - "id": "b05c20e034",
- "isDefault": true
}
Deletes a specified customer address.
customer.customer_manage
No Content
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
{- "type": "bad_request",
- "status": 400,
- "message": "The tenant information provided with the request is not valid."
}