post https://coreapi.impexdocs.com/api/v1/customer
Overview
HTTP Method: POST
Endpoint URL: https://coreapi.impexdocs.com/api/v1/customer
Authentication: Required
Response Format: JSON
Description
To create a Customer, make a POST request to the specified endpoint with the required information. The response will be a JSON object containing the following:
- Response Code
- Status
- Message
- Result (Customer ID)
Request
To create a Customer, provide the following mandatory inputs in the request JSON:
-
Customer Type (
customer_type
): This field defines the category of Customer. -
Customer Name (
customer_name
): This field defines the name to identify the Customer.
Response
The API will respond with a JSON object containing the following:
- Response Code
- Status
- Message
- Result
Example Response JSON
{
"response_code": 0,
"status": 201,
"message": "Created",
"result": 10001
}
Note
- Ensure proper authentication before making the request.