PUT api/store-portal/offers/{offerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| offerId | integer |
Required |
Body Parameters
StorePortalOfferUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| ImageUrl | string |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| SectionId | integer |
None. |
|
| DiscountType | string |
None. |
|
| DiscountValue | decimal number |
None. |
|
| StartAtUtc | string |
None. |
|
| EndAtUtc | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"imageUrl": "sample string 2",
"description": "sample string 3",
"isActive": true,
"sectionId": 5,
"discountType": "sample string 6",
"discountValue": 7.0,
"startAtUtc": "sample string 8",
"endAtUtc": "sample string 9"
}
application/xml, text/xml
Sample:
<StorePortalOfferUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.StorePortal"> <Description>sample string 3</Description> <DiscountType>sample string 6</DiscountType> <DiscountValue>7</DiscountValue> <EndAtUtc>sample string 9</EndAtUtc> <ImageUrl>sample string 2</ImageUrl> <IsActive>true</IsActive> <SectionId>5</SectionId> <StartAtUtc>sample string 8</StartAtUtc> <Title>sample string 1</Title> </StorePortalOfferUpdateRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.