POST AdminApi/Delivery/SaveDiscount
Request Information
URI Parameters
None.
Body Parameters
ExpressDiscount| Name | Description | Type | Additional information |
|---|---|---|---|
| ExpressId | globally unique identifier |
None. |
|
| DiscountMoney | decimal number |
None. |
|
| DiscountPercent | decimal number |
None. |
|
| IsPercent | boolean |
None. |
|
| MerchantId | globally unique identifier |
None. |
|
| Id | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| IsActive | boolean |
Required |
|
| IsDeleted | boolean |
Required |
|
| CreateDate | date |
Required |
|
| UpdateDate | date |
None. |
|
| CreateBy | globally unique identifier |
Required |
|
| UpdateBy | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExpressId": "1ecf8989-751f-4326-9139-6ddf1d236fbd",
"DiscountMoney": 2.0,
"DiscountPercent": 3.0,
"IsPercent": true,
"MerchantId": "6d73bf66-4903-4cb9-9409-3a2ac07215b5",
"Id": "097a08d6-26b3-48e6-8e84-ad2104cd435f",
"ClientId": "f4abaf69-8d8f-413a-8e4c-89ccce1d3c10",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-12-30 14:10:19",
"UpdateDate": "2025-12-30 14:10:19",
"CreateBy": "99e4c8f9-90ea-428d-8063-7c7b980b04d9",
"UpdateBy": "866efe35-efc9-4539-95da-7ce0868a2724"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SystemResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| ReturnValue | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Message": "sample string 2",
"ReturnValue": {}
}