REST POST to /products - can I create supplier prices?

I looked att the output in 9.0.1 and could not find anything corresponding to supplier prices lines.
{
“label”: “Hartsbromsklossar för Shimano, Promax, Tektro skivbroms”,
“description”: “suitable for brakes of following brand(s) Promax\r\nsuitable for brakes of following brand(s) Shimano (no original spare part)\r\nsuitable for brakes of following brand(s) Tektro (no original spare part)\r\nDessa skivbromsbelägg är tillverkade av harts och metall, de skyddar effektivt bromsskivan. Tyst under bromsning, hartsplatta med lågt brus och utmärkt effektmodulering.”,
“type”: “0”,
“price”: “0.00000000”,
“price_ttc”: “0.00000000”,
“price_min”: “0.00000000”,
“price_min_ttc”: “0.00000000”,
“price_base_type”: “HT”,
“multiprices”: {
“1”: “13.00000000”,
“2”: “0.00000000”,
“3”: “0.00000000”,
“4”: “0.00000000”,
“5”: “0.00000000”
},
“multiprices_ttc”: {
“1”: “10.00000000”,
“2”: “0.00000000”,
“3”: “0.00000000”,
“4”: “0.00000000”,
“5”: “0.00000000”
},
“multiprices_base_type”: {
“1”: “TTC”,
“2”: “HT”,
“3”: “HT”,
“4”: “HT”,
“5”: “HT”
},
“multiprices_min”: {
“1”: “0.00000000”,
“2”: “0.00000000”,
“3”: “0.00000000”,
“4”: “0.00000000”,
“5”: “0.00000000”
},
“multiprices_min_ttc”: {
“1”: “0.00000000”,
“2”: “0.00000000”,
“3”: “0.00000000”,
“4”: “0.00000000”,
“5”: “0.00000000”
},
“multiprices_tva_tx”: {
“1”: “25.000”,
“2”: “25.000”,
“3”: “25.000”,
“4”: “25.000”,
“5”: “25.000”
},
“multiprices_recuperableonly”: {
“1”: “0”,
“2”: “0”,
“3”: “0”,
“4”: “0”,
“5”: “0”
},
“prices_by_qty”: [],
“prices_by_qty_list”: [],
“default_vat_code”: null,
“tva_tx”: “25.000”,
“tva_npr”: “0”,
“localtax1_tx”: “0.000”,
“localtax2_tx”: “0.000”,
“localtax1_type”: “0”,
“localtax2_type”: “0”,
“stock_reel”: “0”,
“stock_theorique”: null,
“cost_price”: “20.00000000”,
“pmp”: “30.00000000”,
“seuil_stock_alerte”: null,
“desiredstock”: null,
“duration_value”: false,
“duration_unit”: “”,
“status”: “1”,
“status_buy”: “1”,
“finished”: null,
“status_batch”: “0”,
“customcode”: “”,
“url”: null,
“weight”: “0”,
“weight_units”: “0”,
“length”: null,
“length_units”: “0”,
“surface”: null,
“surface_units”: “0”,
“volume”: null,
“volume_units”: “0”,
“accountancy_code_sell”: “3000”,
“accountancy_code_sell_intra”: “”,
“accountancy_code_sell_export”: “”,
“accountancy_code_buy”: “4000”,
“barcode”: null,
“barcodes_extra”: [],
“stats_propale”: [],
“stats_commande”: [],
“stats_contrat”: [],
“stats_facture”: [],
“stats_commande_fournisseur”: [],
“multilangs”: [],
“imgWidth”: null,
“imgHeight”: null,
“date_creation”: null,
“date_modification”: “2020-07-12 13:48:41.309637”,
“product_fourn_id”: null,
“nbphoto”: 0,
“stock_warehouse”: [],
“fk_price_expression”: null,
“fourn_pu”: null,
“fourn_price_base_type”: null,
“fourn_socid”: null,
“ref_fourn”: null,
“ref_supplier”: null,
“fk_unit”: null,
“price_autogen”: “0”,
“id”: “590”,
“import_key”: “20190326123107”,
“array_options”: [],
“linkedObjectsIds”: null,
“canvas”: null,
“fk_project”: null,
“contact”: null,
“contact_id”: null,
“thirdparty”: null,
“user”: null,
“origin”: null,
“origin_id”: null,
“ref”: “MS-360746”,
“ref_ext”: null,
“statut”: null,
“country”: null,
“country_id”: null,
“country_code”: “”,
“state”: null,
“state_id”: null,
“state_code”: null,
“region”: null,
“region_code”: null,
“barcode_type”: null,
“barcode_type_code”: null,
“barcode_type_label”: null,
“barcode_type_coder”: null,
“mode_reglement_id”: null,
“cond_reglement_id”: null,
“cond_reglement”: null,
“fk_delivery_address”: null,
“shipping_method_id”: null,
“modelpdf”: null,
“last_main_doc”: null,
“fk_account”: null,
“note_public”: null,
“note_private”: “Imported from Odoo 190326”,
“note”: “Imported from Odoo 190326”,
“total_ht”: null,
“total_tva”: null,
“total_localtax1”: null,
“total_localtax2”: null,
“total_ttc”: null,
“lines”: null,
“fk_incoterms”: null,
“libelle_incoterms”: null,
“location_incoterms”: null,
“date_validation”: null,
“duration”: “”,
“width”: null,
“width_units”: null,
“height”: null,
“height_units”: null,
“fk_default_warehouse”: null,
“entity”: “1”
}

I found out it was only added later and available from 2019, so maybe v11 or v12. I will simply copy the most current code and modify my installation because upgrading is more work than I’m prepared to do right now (carries risk of things not working as I’m used, not working at all, etc.)
Thanks c3do for adding this!

I decided to upgrade because I got an error. I later found out the error was also present in v12, see https://github.com/Dolibarr/dolibarr/issues/14259. :upside_down_face:
The error was fixed within 10 hours by eldy. Very nice!
The new versions are very similar (no big rewrite yet) but with a bit nicer UI so I’m happy I don’t have to learn a lot to continue using it.