Skip to content

Create a new item in the "Partners" directory

POST

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

application/json
object
Format"int64"

Email

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)

Format"int64"

Full name of contractor organization

Taxpayer identification number

Statistical identification number

Short name of contractor organization

Responses

OK

*/*
object

The identifier of the created item of the "Invoices" lookup

Format"int64"

If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned

Valid values"error""ok"

Returns the date + time (kernel) in unix timestamp format in milliseconds

Format"int64"