cloneOrder
The method allows you to add a new order to the BaseLinker order manager by cloning an existing order. The new order will have the same data as the original order, but with a different ID.
Input parameters
Output data:
A sample request in PHP:
order_id | int | ID of the order to clone |
Output data
The method returns the data in JSON format.
status | varchar(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 |
order_id | int | ID of added order. |
Sample
Input data:Output data:
A sample request in PHP: