POST api/Setting/PostCoupon

Request Information

URI Parameters

None.

Body Parameters

Coupon
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CouponCode

string

Max length: 50

DiscountPercentage

decimal number

None.

ExpirationDate

date

None.

RedeemTime

integer

None.

IsRedeemed

boolean

None.

Synced

boolean

None.

Updated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "96496ac7-ec92-4b9c-b229-6a5260ebf03f",
  "CouponCode": "sample string 2",
  "DiscountPercentage": 3.0,
  "ExpirationDate": "2026-05-06T16:19:20.0793063+02:00",
  "RedeemTime": 5,
  "IsRedeemed": true,
  "Synced": true,
  "Updated": "2026-05-06T16:19:20.0793063+02:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.