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": "26d367a0-135c-437b-8e85-6758560c518b",
"purchase_order_id": "6e03912f-1e4d-4056-8f65-915315b733b2",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "4eb8d5dc-6b71-4ffd-b01b-a23029ca0f6f",
"id2": 2,
"jobs_id": "b6bed254-96ff-4963-a5c0-218e75a1ab2c",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "2ea21f9d-b648-4f95-8f09-0d6e56858893",
"supplier_company_code": "sample string 6",
"user_id": "f2659a5a-593b-407d-998c-77644928f09f",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-07-13T15:25:07.5634131+00:00",
"date_update": "2026-07-13T15:25:07.5634131+00:00",
"date_delivery": "2026-07-13T15:25:07.5634131+00:00",
"confirmed_date_delivery": "2026-07-13T15:25:07.5634131+00:00",
"delivery_db_address_id": "a09e8fe7-34e0-4692-b22a-bfec81d8a71d",
"approved_by_user_id": "62c5ed91-5f9b-4915-a23c-698a89920ba8",
"approved_by_user_code": "sample string 18",
"technical_user_id": "456630fc-6d31-47ae-813b-9173cceedee0",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "89412580-604c-490f-b1d8-d6893994bce3",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "3415994a-15ee-4ea9-8140-fbafc63147b1",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-07-13T15:25:07.5634131+00:00"
},
"article_id": "0ad856fb-6d82-450d-8535-50e59df3ff96",
"article_code": "sample string 5",
"article": {
"id": "ebae07e5-83fe-4f7e-8ba2-2af7a98aae09",
"article_category_id": "aa1efaa5-ebe8-4ba3-9234-3e8c2253718b",
"article_category": {
"id": "cfd79ebc-d741-4006-946d-8dee9cdfecb6",
"parent_id": "28026d41-6492-4889-bc84-ae12fc2d126a",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-07-13T15:25:07.5634131+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "afcd45e9-7285-43cc-a82b-f84eb1908d09",
"article_group_1_code": "sample string 5",
"article_group_2_id": "1f4ba7fa-5caa-42f2-9714-b708b4e46a88",
"article_group_2_code": "sample string 7",
"article_group_3_id": "b09e58de-cf18-4129-b904-d4b4d86d3e5f",
"article_group_3_code": "sample string 9",
"article_group_4_id": "60892b0a-4ec4-431b-bac3-94807e7f5d37",
"article_group_4_code": "sample string 11",
"article_group_5_id": "06bcdc0a-75d3-48f5-a30a-68caa5018d01",
"article_group_5_code": "sample string 13",
"article_group_6_id": "ffa4dd03-526b-4a41-a728-7a07498a422d",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-07-13T15:25:07.5634131+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-07-13T15:25:07.5634131+00:00",
"date_update": "2026-07-13T15:25:07.5634131+00:00",
"modified_dateutc": "2026-07-13T15:25:07.5634131+00:00",
"article_color_id": "20a55aed-95ca-44b4-ae4f-4c22327bd97d",
"article_color_code": "sample string 38",
"article_color": {
"id": "f44927e3-7368-4b63-923b-5362be35b2be",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-07-13T15:25:07.5634131+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "75081219-7aeb-4fe5-8e86-4019837114b8",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "aecd7d61-2120-40a1-9f0b-237e6414b843",
"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-07-13T15:25:07.5634131+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.