POST api/checkoutWithPromoVoucher/{cartId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cartId | integer |
Required |
Body Parameters
CheckoutOptionsName | Description | Type | Additional information |
---|---|---|---|
IpAddress | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "IpAddress": "sample string 1" }
application/xml, text/xml
Sample:
<CheckoutOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Opimian.Wimps.CMS.API.Models.Handlers"> <IpAddress>sample string 1</IpAddress> </CheckoutOptions>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaymentReportName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<PaymentReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Opimian.Wimps.CMS.API.Models.Handlers"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <IsSuccess>true</IsSuccess> </PaymentReport>