Skip to navigation

Create supplier

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired<=255 characters
is_activebooleanRequired
tax_idstring or nullOptional<=255 characters
emailstring or nullOptionalformat: "email"<=255 characters
phonestring or nullOptional<=255 characters
addressstring or nullOptional

Response

Supplier created successfully.
idinteger
namestring
tax_idstring or null
emailstring or nullformat: "email"
phonestring or null
addressstring or null
is_activeboolean

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error