PUT api/Discounts/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Discount| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| OwnerGuid | globally unique identifier |
None. |
|
| ContactLensProductId | integer |
None. |
|
| DiscountTriggerTypeId | integer |
None. |
|
| DiscountTriggerValue | string |
String length: inclusive between 0 and 150 |
|
| DiscountRewardTypeId | integer |
None. |
|
| DiscountRewardValue | string |
String length: inclusive between 0 and 150 |
|
| DateStart | date |
None. |
|
| DateEnd | date |
None. |
|
| OwnerBigId | integer |
None. |
|
| ContactLensProduct | ContactLensProduct |
None. |
|
| DiscountRewardType | DiscountRewardType |
None. |
|
| DiscountTriggerType | DiscountTriggerType |
None. |
|
| RightEyedSubscriptions | Collection of Subscription |
None. |
|
| LeftEyedSubscriptions | Collection of Subscription |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.