[POST] business
/api/v1/business/
AddBusinessProfileRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
business_name |
str
|
business name to be associated with the driver |
business_address |
str
|
address of the business |
TIN |
Annotated[str, AfterValidator(validate_tin)]
|
Tax Identification Number of the business in the format of "XXX-XXX-XXX" |
BusinessErrorMessagesEnum
Attributes:
Name | Type | Description |
---|---|---|
INVALID_TIN |
Error message for invalid TIN format. |
|
EXISTING_TIN |
User already has a TIN associated to their account. |