dolibarr  16.0.5
Functions
server_order.php File Reference

File that is entry point to call Dolibarr WebServices. More...

Go to the source code of this file.

Functions

 getOrder ($authentication, $id='', $ref='', $ref_ext='')
 Get order from id, ref or ref_ext. More...
 
 getOrdersForThirdParty ($authentication, $idthirdparty)
 Get list of orders for third party. More...
 
 createOrder ($authentication, $order)
 Create order. More...
 
 validOrder ($authentication, $id='', $id_warehouse=0)
 Valid an order. More...
 
 updateOrder ($authentication, $order)
 Update an order. More...
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_order.php.

Function Documentation

◆ createOrder()

createOrder (   $authentication,
  $order 
)

Create order.

Parameters
array$authenticationArray of authentication information
array$orderOrder info
Returns
int Id of new order

Definition at line 662 of file server_order.php.

◆ getOrder()

getOrder (   $authentication,
  $id = '',
  $ref = '',
  $ref_ext = '' 
)

Get order from id, ref or ref_ext.

Parameters
array$authenticationArray of authentication information
int$idId
string$refRef
string$ref_extRef_ext
Returns
array Array result

Definition at line 362 of file server_order.php.

◆ getOrdersForThirdParty()

getOrdersForThirdParty (   $authentication,
  $idthirdparty 
)

Get list of orders for third party.

Parameters
array$authenticationArray of authentication information
int$idthirdpartyId of thirdparty
Returns
array Array result

Definition at line 507 of file server_order.php.

◆ updateOrder()

updateOrder (   $authentication,
  $order 
)

Update an order.

Parameters
array$authenticationArray of authentication information
array$orderOrder info
Returns
array Array result

Definition at line 873 of file server_order.php.

◆ validOrder()

validOrder (   $authentication,
  $id = '',
  $id_warehouse = 0 
)

Valid an order.

Parameters
array$authenticationArray of authentication information
int$idId of order to validate
int$id_warehouseId of warehouse to use for stock decrease
Returns
array Array result

Definition at line 804 of file server_order.php.