Merge remote-tracking branch 'origin/product_variants_api_add_stock_to_response' into product_variants_api_add_stock_to_response

This commit is contained in:
kastoras 2021-04-29 00:10:35 +03:00
commit eca04b675b

View File

@ -1568,7 +1568,7 @@ class Products extends DolibarrApi
* Get product variants. * Get product variants.
* *
* @param int $id ID of Product * @param int $id ID of Product
* @param int $includestock Default value 0. If parameter is set to 1 the response will contain stock data of each variant * @param int $includestock Default value 0. If parameter is set to 1 the response will contain stock data of each variant
* @return array * @return array
* *
* @throws RestException 500 * @throws RestException 500