POST Api/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": "4e579a24-0cc6-4929-b263-affb637075f0",
"DiscountMoney": 2.0,
"DiscountPercent": 3.0,
"IsPercent": true,
"MerchantId": "44bf0e5f-ef16-4ff5-901b-a28300e49db7",
"Id": "82b382e4-2ef9-4dd2-8117-0ce8b73f6f81",
"ClientId": "9337522f-776e-40c9-b51f-c423b4445984",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-12-30 14:10:16",
"UpdateDate": "2025-12-30 14:10:16",
"CreateBy": "a28bf23e-22fd-4c03-9c6d-79f73da9e771",
"UpdateBy": "6359456b-4a74-4471-ac2c-6e86b02707a5"
}
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": {}
}