API documentation
Method list
Test your request
Changelog


addInventoryPayer
The method allows you to add a new payer or update an existing one in BaseLinker storage.


Input parameters
payer_idint(optional) Payer identifier. If provided, the existing payer will be updated.
namevarchar(100)Payer name
addressvarchar(100)(optional) Payer address
postcodevarchar(20)(optional) Payer postal code
cityvarchar(50)(optional) Payer city
tax_novarchar(20)(optional) Payer tax identification number



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
payer_idintCreated or updated payer identifier



Sample
Input data:
Output data:
A sample request in PHP: