Endpoint
Request Body
Name of the supplier company or individual
Contact email address for the supplier
Contact phone number for the supplier
Whether the supplier should be marked as active
Response
Returns the created supplier object with its assigned ID.Unique identifier assigned to the new supplier
Name of the supplier
Contact email address
Contact phone number
Active status of the supplier
Example Request
Example Response
Location header pointing to the newly created resource:
Status Codes
201 Created- Supplier successfully created400 Bad Request- Invalid request body or validation error
Validation Rules
The following validation rules apply:name- Must not be emptycontactEmail- Must be a valid email formatcontactPhone- Must not be emptyisActive- Must be a boolean value