Last Updated on : 2023-06-21 07:12:58download
Update the price policy set by a charging station.
PUT: /v1.0/iot-02/charging-pile/shop/goods
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| charging_pile_update_goods_req | ChargingPileUpdateGoodsReq | false | The input parameter. |
Description of charging_pile_update_goods_req
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| sku_id | String | false | The ID of a specified price policy. | |
| goods_name | String | false | The name of a specified price policy. | |
| time_unit | String | false | The time unit.
|
|
| limit_min_time | Integer | false | The minimum purchase quantity of unit time. Minimum value: 1. |
|
| limit_max_time | Integer | false | The maximum purchase quantity of unit time. Maximum value: 24. |
|
| price | BigDecimal | false | The price per unit time. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The returned result. Valid values:
|
PUT: /v1.0/iot-02/charging-pile/shop/goods
{
"sku_id": "12fb3dd7b680b***",
"goods_name": "Policy name",
"time_unit": "HOUR",
"limit_min_time": "Minimum purchase quantity of unit time",
"limit_max_time": "Maximum purchase quantity of unit time",
"price": "1.00"
}
{
"result": true,
"t": 1630056214213,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback