API documentation
Method list
Test your request

The method allows you to enter the shipping number and the name of the courier to the order (function used only to add shipments created outside BaseLinker)

Input parameters
order_idintOrder identifier
courier_codevarchar(20)Courier code (courier code retrieved with getCouriersList or custom courier name)
package_numbervarchar(40)Shipping number (consignment number)
pickup_dateintDate of dispatch (unix time format)
return_shipmentbool(optional, false by default) Marks package as return shipment

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
package_idintShipment ID
package_numbervarchar(40)Shipping number (consignment number)

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