Update api_supplier_orders.class.php

Added example of creating a supplier order
This commit is contained in:
Egils Consulting 2020-08-06 19:57:31 +02:00 committed by GitHub
parent e6c4c8082e
commit 20ea6d86d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,8 @@ class SupplierOrders extends DolibarrApi
/**
* Create supplier order object
*
* Example: {"ref": "auto", "ref_supplier": "1234", "socid": "1", "multicurrency_code": "SEK", "multicurrency_tx": 1, "tva_tx": 25, "note": "Imported via the REST API"}
*
* @param array $request_data Request datas
* @return int ID of supplier order
*/