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": "f172f140-98d4-4f2f-b865-f64d445a941a",
"DiscountMoney": 2.0,
"DiscountPercent": 3.0,
"IsPercent": true,
"MerchantId": "44420b4f-627e-4890-b694-fa6300935cfb",
"Id": "484fb442-5d0c-4df9-aef1-ec4836910324",
"ClientId": "f53dccd7-7982-4f65-92b1-fde434074296",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:04:15",
"UpdateDate": "2025-10-28 19:04:15",
"CreateBy": "f4af9d73-d0ef-4a19-ae28-980ebc8e229a",
"UpdateBy": "692d6019-68ae-423e-acd8-7961254f43e0"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
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": {}
}