Skip to main content

Create Supplier

Endpoint: POST /suppliers

Authentication: Bearer Token (required)

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication. Format: Bearer <token>
Content-TypestringYesMust be application/json

Request Body

The request body must be a JSON object with the following structure:

FieldTypeRequiredDescription
namestringYesName of the supplier (e.g., "Supplier B")
companyIdStringstringYesUUID of the company that this supplier belongs to

Example Request Body

{
"name": "Supplier B",
"companyIdString": "{{companyIdString}}"
}