POST api/PriceList/UpdateMainPriceListByProductId
Ana Fiyat liste detayını günceller.
Request Information
URI Parameters
None.
Body Parameters
api_main_price_list_detail_update| Name | Description | Type | Additional information |
|---|---|---|---|
| product_id | integer |
None. |
|
| unit_price_tra | decimal number |
None. |
|
| unit_price_cash | decimal number |
None. |
|
| currency_id | integer |
None. |
|
| product_name | string |
None. |
|
| orginal_code | string |
None. |
|
| brand_id | integer |
None. |
|
| is_passive | boolean |
None. |
|
| attribute_code | string |
None. |
|
| attribute_name | string |
None. |
|
| barcode | string |
None. |
|
| order_no | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"product_id": 1,
"unit_price_tra": 2.1,
"unit_price_cash": 3.1,
"currency_id": 4,
"product_name": "sample string 5",
"orginal_code": "sample string 6",
"brand_id": 7,
"is_passive": true,
"attribute_code": "sample string 9",
"attribute_name": "sample string 10",
"barcode": "sample string 11",
"order_no": 12
}
application/xml, text/xml
Sample:
<api_main_price_list_detail_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.API"> <attribute_code>sample string 9</attribute_code> <attribute_name>sample string 10</attribute_name> <barcode>sample string 11</barcode> <brand_id>7</brand_id> <currency_id>4</currency_id> <is_passive>true</is_passive> <order_no>12</order_no> <orginal_code>sample string 6</orginal_code> <product_id>1</product_id> <product_name>sample string 5</product_name> <unit_price_cash>3.1</unit_price_cash> <unit_price_tra>2.1</unit_price_tra> </api_main_price_list_detail_update>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
entity_result| Name | Description | Type | Additional information |
|---|---|---|---|
| status_code | string |
None. |
|
| status | boolean |
None. |
|
| title | string |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status_code": "sample string 1",
"status": true,
"title": "sample string 3",
"message": "sample string 4",
"data": {}
}
application/xml, text/xml
Sample:
<entity_result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.RESULT_MODELS"> <data /> <message>sample string 4</message> <status>true</status> <status_code>sample string 1</status_code> <title>sample string 3</title> </entity_result>