Supplier
This Domain Severs for Suppler Managament Requests.
New Supplier Number
POSTRetrieves the details of a specific customer from the database based on the provided customer ID. If the customer is found, it returns the customer's details; otherwise, it returns a message indicating that no data was found.
Request Paramters
string domain |
Value should be customer |
Required |
string action |
Value should be new-supplier-no |
Required |
object data |
Empty object | Required |
Sample Request Body
{
domain: "supplier",
action: "new-supplier-no",
"data": {}
}
Response Paramters
string status |
This indicate the status of the response. success is the expected value. |
string message |
This explains the reson for status. |
string data |
newly generated supplier number. |
Sample Response
{
status: "success",
data: {
status: "success",
message: "New Supplier No Created",
data: "S05240003"
}
}