All services related to customers are listed in this page.
GET List Customers - Simple
This service is used to retrieve a list of customers.
It has been added for the purpose of supporting business intelligence.
Path:/api/v1/oms/customers/list-simple/
Query Parameters
The following query parameters can be used to get the details of customers.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
Example Request
To get a simple list of all customers, a GET request should be sent to the /api/v1/oms/customers/list-simple/ endpoint. In the headers, set the Authorization header to include the token for authentication.
Here's an example of how to make the request in python:
In a successful response with a status code of 200 OK, the API returns the details of the customers. The response body contains a JSON object with the customers and their attributes such as ID, first name, last name etc.
These parameters are described in the following table.
Parameter
Data Type
Description
id
integer
The primary key of the customer
created_date
date
The creation date of the customer
modified_date
date
The last modified date of the customer
omnitron_id
integer
The omnitron id of the customer
email
string
The email of the customer
first_name
string
The first name of the customer
last_name
string
The last name of the customer
phone_number
string
The phone number of the customer
erp_code
string
The partner customer code
channel
integer
The channel id of the customer
This example response serves as a reference to understand the structure and data format returned from this API service.
This service is used to retrieve API level details of customers.
Path:/api/v1/oms/customers/list-simple/
Query Parameters
The following query parameters can be used to get the details of the service.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
Example Request
To get API level details of the service, a OPTIONS request should be sent to the /api/v1/oms/customers/list-simple/ endpoint. In the headers, set the Authorization header to include the token for authentication.
Here's an example of how to make the request in python:
In a successful response with a status code of 200 OK, it returns the api level details of the service. The response body contains a JSON object with the name, rendering types, filtering attributes etc.
These parameters are described in the following table.
Parameter
Data Type
Description
name
string
The name of the service
renders
list
The rendering types of the service
parses
list
The parsing types of the service
actions
json
The defined actions of the service
filters
list
The filtering attributes of the service
This example response serves as a reference to understand the structure and data format returned from this API service.