Create a new item in the "Partners" directory
The method creates / adds a new item to the "Contractor" directory.
The method can return the following errors:
-
DUPLICATE_NAME - if a "Contractor" with the same name already exists
-
EMPTY_NAME - if the required parameter name is not passed or is passed as an empty string
When an error is returned, http has the status "400 Bad Request"
Request Body
Full name of the contractor's organization in English
Actual address
National Court Register
Legal address
Seller ID (By this parameter, the store is linked to the "Seller" directory)
"int64"Full name of contractor organization
Taxpayer identification number
Statistical identification number
Short name of contractor organization
Responses
OK
The identifier of the created item of the "Invoices" lookup
"int64"If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned
"error""ok"Returns the date + time (kernel) in unix timestamp format in milliseconds
"int64"