mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Update api_orders.class.php
This commit is contained in:
committed by
GitHub
parent
b9039eea14
commit
d98390e675
@@ -970,18 +970,17 @@ class Orders extends DolibarrApi
|
||||
/**
|
||||
* Get the shipments of an order
|
||||
*
|
||||
*
|
||||
* @param int $id Id of the order
|
||||
*
|
||||
* @url GET {id}/shipment
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws RestException 401
|
||||
* @throws RestException 404
|
||||
* @throws RestException 500
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getOrderShipements($id)
|
||||
public function getOrderShipments($id)
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php';
|
||||
if (!DolibarrApiAccess::$user->rights->expedition->lire) {
|
||||
|
||||
Reference in New Issue
Block a user