POST Orders/OrderRefund

Refunds an Amount for an Order using the original Payment Mean.

Request Information

URI Parameters

None.

Body Parameters

PaymentRefundBinding
NameDescriptionTypeAdditional information
Amount

The amount to be refunded

decimal number

None.

Observations

string

None.

OrderID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "Observations": "sample string 2",
  "OrderID": 3,
  "Lang": "sample string 4",
  "StoreID": 5
}

application/xml, text/xml

Sample:
<PaymentRefundBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Order">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 4</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">5</StoreID>
  <OrderID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Order">3</OrderID>
  <Amount>1</Amount>
  <Observations>sample string 2</Observations>
</PaymentRefundBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>