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": "ba7c57c0-50ec-4ea6-838b-f934ab102359",
"purchase_order_id": "f9f17733-3e4a-4998-9d97-18ac9a1d1297",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "b4dd491c-9c97-4df0-89a9-462abd044585",
"id2": 2,
"jobs_id": "c0989834-b20e-4fb7-b7c6-60b9e01a0dfa",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "425401fa-71ca-4a1a-ab8e-f8633f96e829",
"supplier_company_code": "sample string 6",
"user_id": "53db0e7d-aeb4-4b03-b1e8-40365f6abf53",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-08-21T00:24:12.4023042+00:00",
"date_update": "2026-08-21T00:24:12.4023042+00:00",
"date_delivery": "2026-08-21T00:24:12.4023042+00:00",
"confirmed_date_delivery": "2026-08-21T00:24:12.4023042+00:00",
"delivery_db_address_id": "550b48c8-5e5c-4f99-9ddf-917b5db25b7f",
"approved_by_user_id": "f3579cb8-b50b-4159-ae40-7bf14219e0f5",
"approved_by_user_code": "sample string 18",
"technical_user_id": "a1be99f1-7882-4224-8436-753925b327bb",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "6927eaa7-9037-455f-97cf-2d4c61a3e0bb",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "ef1434ee-ff3d-4c7f-aba7-8978013bad0d",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-08-21T00:24:12.4023042+00:00"
},
"article_id": "e72a67c0-9cbd-4314-99cb-283232880a2c",
"article_code": "sample string 5",
"article": {
"id": "8fadb59d-c45a-43c4-a886-435c97252762",
"article_category_id": "5cc0250e-178f-4c26-adc6-930cb6dc04eb",
"article_category": {
"id": "c0b54932-ef96-41b3-92c7-7aa2c0348488",
"parent_id": "62d96101-1cd1-4c5a-8e87-cc34e939fa40",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-08-21T00:24:12.4023042+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "f5ea3cca-1529-4d52-bce4-5f631993348c",
"article_group_1_code": "sample string 5",
"article_group_2_id": "a1e822f5-a1b0-4fa7-b43e-7be72b370500",
"article_group_2_code": "sample string 7",
"article_group_3_id": "ff820a6f-94c7-46bc-9205-823524c08588",
"article_group_3_code": "sample string 9",
"article_group_4_id": "2f688285-9d4d-4639-87f2-83faa2acf6b3",
"article_group_4_code": "sample string 11",
"article_group_5_id": "12ea2f17-de59-4a8b-8162-4b3f7648df39",
"article_group_5_code": "sample string 13",
"article_group_6_id": "4b2bee21-cb58-4d7d-8561-e5cefc58f97a",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-08-21T00:24:12.4023042+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-08-21T00:24:12.4023042+00:00",
"date_update": "2026-08-21T00:24:12.4023042+00:00",
"modified_dateutc": "2026-08-21T00:24:12.4023042+00:00",
"article_color_id": "6f8328e9-52e0-4a69-9add-f44f783b2e13",
"article_color_code": "sample string 38",
"article_color": {
"id": "129632a7-2a46-4fdb-baca-367ba2e6caed",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-08-21T00:24:12.4023042+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "b933ce5a-5cd7-4300-a7f6-97cd4c6856a4",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "60c055f2-6d70-46a1-84f2-a3eeb5c4a3c7",
"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-08-21T00:24:12.4023042+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.