PUT api/ShoppingCart/UpdateBillOffer
Update bill offer from shopping cart
Request Information
URI Parameters
None.
Body Parameters
ShoppingCartBillOfferBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OfferId | string |
Required |
|
| OfferTypeId | string |
Required |
|
| SourceType | OrderSource |
None. |
Request Formats
application/json, text/json
Sample:
{
"OfferId": "sample string 1",
"OfferTypeId": "sample string 2",
"SourceType": 0
}
application/xml, text/xml
Sample:
<ShoppingCartBillOfferBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Coke.Models.WebApi.BindingModels.ShoppingCart"> <OfferId>sample string 1</OfferId> <OfferTypeId>sample string 2</OfferTypeId> <SourceType>Android</SourceType> </ShoppingCartBillOfferBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.