Updates the purchase order order lines with the specified key
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters :
purchase_order_details| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| purchase_order_id |
Foreign key of the purchase_order |
globally unique identifier |
Optionally required : purchase_order_id, purchase_order_reference or purchase_order must be provided |
| purchase_order_reference_back_office |
Embedded entity "purchase_order" using ERP PK when adding/updating |
string |
Optionally required : purchase_order_id, purchase_order_reference_back_office or purchase_order must be provided |
| purchase_order |
Embedded entity "purchase_order" when adding/updating |
purchase_order |
Optionally required : purchase_order_id, purchase_order_reference_back_office or purchase_order must be provided |
| article_id |
Foreign key of article |
globally unique identifier |
Optionally required : article_id, article_code or article must be provided |
| article_code |
Embedded entity "article" using ERP PK when adding/updating |
string |
Optionally required : article_id, article_code or article must be provided |
| article |
Embedded entity "article" when adding/updating |
article |
Optionally required : article_id, article_code or article must be provided |
| line_number |
Line Number, auto filled with (Highest+1) if value is 0/null |
integer | |
| code |
Code of the article (auto filled if empty) |
string |
Max length: 255 |
| supplier_code |
Code of the supplier for this article |
string |
Max length: 255 |
| name |
Article Name (will be auto filled if article.name+description are empty) |
string |
Max length: 255 |
| description |
Article description (will be auto filled by article.short_description if name+description are empty) |
string |
Max length: 255 |
| price |
Unit Price |
decimal number |
Matching regular expression pattern: ^[0-9]\d*(\.\d+)?$ Range: inclusive between 0.1 and 1.79769313486232E+308 |
| quantity |
Quantity |
decimal number |
Required Range: inclusive between 0.1 and 1.79769313486232E+308 |
| memo |
Line memo/remark |
string | |
| cost_price |
Unit Cost Price (statistic purpose) |
decimal number |
Matching regular expression pattern: ^[0-9]\d*(\.\d+)?$ |
| reference_back_office |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Request Formats :
application/json, text/json
{
"id": "528f6b77-ea35-4f0f-83fb-d4e3dd39bcb0",
"purchase_order_id": "3cb5290f-ff5a-41ab-a6b0-02e37b9487d8",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "1e9278cd-87f9-4a88-85f5-068995472ad0",
"id2": 2,
"jobs_id": "05297855-cc8b-4c45-a740-ea52ac4e1b1c",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "99fd4d5d-4b76-4cee-ba45-2de2d7972b42",
"supplier_company_code": "sample string 6",
"user_id": "f2b639f0-bf7b-4fdb-89c7-20d416b3367d",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-06-18T16:19:58.6865719+00:00",
"date_update": "2026-06-18T16:19:58.6865719+00:00",
"date_delivery": "2026-06-18T16:19:58.6865719+00:00",
"confirmed_date_delivery": "2026-06-18T16:19:58.6865719+00:00",
"delivery_db_address_id": "53965d01-8530-4303-9709-7481214cd0a7",
"approved_by_user_id": "848b650a-f8e6-4941-95f4-76f88eb6bd26",
"approved_by_user_code": "sample string 18",
"technical_user_id": "93e6f78d-88ac-4f37-ba3f-5fd3e43bda40",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "6064ec6b-9703-4794-adfa-314ec32d88eb",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "9086d98a-83fb-467b-9abc-d52a33fbfb6a",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-06-18T16:19:58.6865719+00:00"
},
"article_id": "d52d1b16-34ba-40fb-984f-901ec43fd04e",
"article_code": "sample string 5",
"article": {
"id": "3e924d6a-8c74-4829-9bb6-f8c80faef916",
"article_category_id": "56a0e159-55da-4691-8344-9a2bfa256f48",
"article_category": {
"id": "0102e7b5-bc49-4188-a2aa-f6515873df5a",
"parent_id": "9e27a25b-d92a-4c61-8990-d26c6272c70f",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-06-18T16:19:58.6865719+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "b25b9021-1788-41c8-87c2-40ea9f79dce4",
"article_group_1_code": "sample string 5",
"article_group_2_id": "08af3082-2431-4150-aa79-00b9e7db2ad6",
"article_group_2_code": "sample string 7",
"article_group_3_id": "ae9c318b-2bb8-41c8-bdbd-75b2569ca9d6",
"article_group_3_code": "sample string 9",
"article_group_4_id": "2ecd2d5e-1d6c-4e46-aea0-acfe501c18ec",
"article_group_4_code": "sample string 11",
"article_group_5_id": "dcde482e-96e8-42c4-8376-93048794bfe9",
"article_group_5_code": "sample string 13",
"article_group_6_id": "335debc6-d46f-4e94-aeac-362032e86e94",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-06-18T16:19:58.6865719+00:00",
"article_increment": 20,
"min_article_quantity": 21,
"entered_price": 22.0,
"cost_price": 23.1,
"no_stock": true,
"archived": true,
"is_travel_fee": true,
"is_mileage_fee": true,
"code": "sample string 28",
"name": "sample string 29",
"description_short": "sample string 30",
"description_long": "sample string 31",
"barcode": "sample string 32",
"notes": "sample string 33",
"date_create": "2026-06-18T16:19:58.6865719+00:00",
"date_update": "2026-06-18T16:19:58.6865719+00:00",
"modified_dateutc": "2026-06-18T16:19:58.6865719+00:00",
"article_color_id": "7ea85c70-050a-4388-b0ab-eaf2fe30cd9d",
"article_color_code": "sample string 38",
"article_color": {
"id": "50351dbd-fc67-4650-8e75-74b1a190aacc",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-06-18T16:19:58.6865719+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "71df599e-8640-410f-a05e-6b778e932921",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "cd5458e1-bb02-448a-9e87-3a1581d9c5c8",
"db_unit_of_measure_code_selling": "sample string 44",
"translations": [
{
"field_name": "sample string 1",
"language_code": "sample string 2",
"value_translated": "sample string 3"
},
{
"field_name": "sample string 1",
"language_code": "sample string 2",
"value_translated": "sample string 3"
}
]
},
"line_number": 6,
"code": "sample string 7",
"supplier_code": "sample string 8",
"name": "sample string 9",
"description": "sample string 10",
"price": 11.0,
"quantity": 12.0,
"memo": "sample string 13",
"cost_price": 14.0,
"reference_back_office": "sample string 15",
"modified_dateutc": "2026-06-18T16:19:58.6865719+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.