POST api/membership/update/product/discount

Request Information

URI Parameters

None.

Body Parameters

MembershipProductDiscountConfigEntity
NameDescriptionTypeAdditional information
MembershipProductDiscountId

integer

None.

DiscountPercentage

decimal number

None.

MaxDicountPrice

decimal number

None.

Price

decimal number

None.

Active

boolean

None.

CreatedTime

date

None.

UpdatedTime

date

None.

VendorId

integer

None.

MembershipId

integer

None.

ProductId

integer

None.

ProductName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MembershipProductDiscountId": 1,
  "DiscountPercentage": 1.0,
  "MaxDicountPrice": 1.0,
  "Price": 1.0,
  "Active": true,
  "CreatedTime": "2025-12-31T16:42:07.8608294+05:30",
  "UpdatedTime": "2025-12-31T16:42:07.8608294+05:30",
  "VendorId": 4,
  "MembershipId": 5,
  "ProductId": 6,
  "ProductName": "sample string 7"
}

application/xml, text/xml

Sample:
<MembershipProductDiscountConfigEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
  <Active>true</Active>
  <CreatedTime>2025-12-31T16:42:07.8608294+05:30</CreatedTime>
  <DiscountPercentage>1</DiscountPercentage>
  <MaxDicountPrice>1</MaxDicountPrice>
  <MembershipId>5</MembershipId>
  <MembershipProductDiscountId>1</MembershipProductDiscountId>
  <Price>1</Price>
  <ProductId>6</ProductId>
  <ProductName>sample string 7</ProductName>
  <UpdatedTime>2025-12-31T16:42:07.8608294+05:30</UpdatedTime>
  <VendorId>4</VendorId>
</MembershipProductDiscountConfigEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.