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": "9edf3d3c-fe1c-4011-a22a-4558e0e1e455",
"purchase_order_id": "db692502-0435-4d5b-9153-01683f051c5a",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "18e79d8e-5577-4891-b278-2d49f87d8e9d",
"id2": 2,
"jobs_id": "aed14dd5-c2d8-4fc4-bde5-0afc2d3d07d9",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "12425fee-e9c4-4cbe-828c-c2592950c8dc",
"supplier_company_code": "sample string 6",
"user_id": "09e52a03-6b1c-4306-9170-791794d8f9f6",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-05-07T14:55:40.0447793+00:00",
"date_update": "2026-05-07T14:55:40.0447793+00:00",
"date_delivery": "2026-05-07T14:55:40.0447793+00:00",
"confirmed_date_delivery": "2026-05-07T14:55:40.0447793+00:00",
"delivery_db_address_id": "a94ff048-dacd-451c-98cc-931d9c30594e",
"approved_by_user_id": "08e7d163-3efa-4114-95eb-76475287ef8d",
"approved_by_user_code": "sample string 18",
"technical_user_id": "120ba65e-06dc-4647-8a23-e77cbe656aa5",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "9ff9d40c-1e05-4e72-bedc-c02e26bc57c6",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "3b39d119-de09-41e3-b71a-d406a08f558b",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-05-07T14:55:40.0447793+00:00"
},
"article_id": "5b056584-44b0-4488-aa6b-72d3bda8e2ca",
"article_code": "sample string 5",
"article": {
"id": "c95643a6-0148-44b9-9597-d869081eac15",
"article_category_id": "b3b77a82-02e4-4fd9-aa0c-50fd84d1d6ec",
"article_category": {
"id": "dd78c535-7a1b-4de7-86dd-e03d832914c6",
"parent_id": "3c143a15-576e-40ea-8997-0029f5783da3",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-05-07T14:55:40.0447793+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "db186799-586d-4d4a-bafa-2088fe07d143",
"article_group_1_code": "sample string 5",
"article_group_2_id": "36abfbb8-734d-4c0e-92b5-30ceec3f7d93",
"article_group_2_code": "sample string 7",
"article_group_3_id": "1f1d0b96-a449-42f3-b6c2-80d2f9db9648",
"article_group_3_code": "sample string 9",
"article_group_4_id": "9c11f6e1-e63f-413c-9e29-2b093252ebff",
"article_group_4_code": "sample string 11",
"article_group_5_id": "d2ec5d8a-4c5f-4297-8e69-914f4d0dd42a",
"article_group_5_code": "sample string 13",
"article_group_6_id": "e8cbc662-1064-481d-9145-c3099f73890c",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-05-07T14:55:40.0447793+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-05-07T14:55:40.0447793+00:00",
"date_update": "2026-05-07T14:55:40.0447793+00:00",
"modified_dateutc": "2026-05-07T14:55:40.0447793+00:00",
"article_color_id": "ccdcaef4-8610-4e0b-a225-fa1b2cb11ab1",
"article_color_code": "sample string 38",
"article_color": {
"id": "bfca2d9c-5512-4c4e-b4df-4d18d19dd259",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-05-07T14:55:40.0447793+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "e1af5576-f79a-4dbc-b3ff-1fd75021dd0e",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "2a84dc15-9f9f-434f-8122-8d2d380501ff",
"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-05-07T14:55:40.0447793+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.