API documentation
Method list
Test your request
Changelog


createPackageManual
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 getCourierList or custom courier name)
package_numbervarchar(40)Shipping number (consignment number)
pickup_dateintDate of dispatch (unix time format)



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)



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