CreateSupplier
Adds a new supplier to your MyFatoorah account. This endpoint is used to create suppliers for multi-vendor functionality, and determine supplier's basic settings.
Request body
The name of the supplier
The mobile number of the supplier
The email address of the supplier
A fixed value which will be deducted from each transaction
A percentage value which will be deducted from each transaction
true: deduct the percentage from the (total amount - transaction fees), false: deduct the percentage from the total amount. Affects only in case of one supplier in the request
Daily for daily deposits, Weekly for weekly deposits, Monthly for monthly deposits, OnDemand for on hold deposits
Specifies on which day the deposit should take place. Effective only for weekly and monthly. Weekly: values between 1 and 5 (Sunday to Thursday), can enter multiple days separated by comma. Monthly: values between 1 and 30, accepts only a single value
Must be from the bank list received from GetBanks
Should be string without any special characters or numbers
Bank account number, only numbers
Should be valid IBAN
Indicates if the supplier is active
true: The details of the suppliers will be displayed on the invoice page instead of the vendor. false: The vendor details will be displayed on the invoice. This is effective only if there is one supplier in the invoice
The name of the business that will be displayed on the invoice
1 for Home Business, 2 for Company
Response
Successful response
Indicates if the request was successful
Response message