POST api/OrderWebhook/CancelOrderInMaestro?requestId={requestId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
requestId

integer

Default value is 0

Body Parameters

RefundCreated
NameDescriptionTypeAdditional information
scope

string

None.

store_id

string

None.

data

RefundData

None.

hash

string

None.

created_at

integer

None.

producer

string

None.

Request Formats

application/json, text/json

Sample:
{
  "scope": "sample string 1",
  "store_id": "sample string 2",
  "data": {
    "type": "sample string 1",
    "id": 2,
    "refund": {
      "refund_id": 1
    }
  },
  "hash": "sample string 3",
  "created_at": 4,
  "producer": "sample string 5"
}

application/xml, text/xml

Sample:
<RefundCreated xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Opimian.Wimps.Api.BigCommerce.Models">
  <CreatedAt>4</CreatedAt>
  <Data>
    <OrderId>2</OrderId>
    <Refund>
      <RefundId>1</RefundId>
    </Refund>
    <Type>sample string 1</Type>
  </Data>
  <Hash>sample string 3</Hash>
  <Producer>sample string 5</Producer>
  <Scope>sample string 1</Scope>
  <StoreId>sample string 2</StoreId>
</RefundCreated>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RefundCreated'.

Response Information

Resource Description

None.