Customer API REST Endpoints

Common Core Services/Customer API
This is the service to maintain the record for external customers.It has the option to create different type and different category for the customers, also it takes the source system and source system customer number as input and maps the source system customer number to a unique customer.
Adds a new core customers
Method: post
Path: /corecustomers
Authorize the corecustomers by given ID
Method: patch
Path: /corecustomers/{id}/approve
Close the core customers by given ID
Method: patch
Path: /corecustomers/{id}/close
Deletes the core customers identified by given ID
Method: delete
Path: /corecustomers/{id}
Get all valid core customers
Method: get
Path: /corecustomers
Reopen the core customers by given ID
Method: patch
Path: /corecustomers/{id}/reopen
Retrieves the core customers by ID.
Method: get
Path: /corecustomers/{id}
Retrives the core customers by given ID
Method: get
Path: /corecustomers/{id}/history
Retrives the core customers by given ID
Method: get
Path: /corecustomers/{id}/unauthorized
Update an existing core customers
Method: put
Path: /corecustomers/{id}