POST api/OmsChannelAdvisorReturnAdjustment
Request Information
URI Parameters
None.
Body Parameters
ChannelAdvisorReturnAdjustmentRequest
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ProductNet | decimal number |
None. |
|
| ProductGross | decimal number |
None. |
|
| ShippingNet | decimal number |
None. |
|
| ShippingGross | decimal number |
None. |
|
| ExternalOrderID | string |
None. |
|
| OmsItemID | integer |
None. |
|
| SiteCode | string |
None. |
|
| VerificationKey | string |
None. |
|
| TimestampUTC | string |
None. |
|
| APIUsername | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductNet": 1.0,
"ProductGross": 2.0,
"ShippingNet": 3.0,
"ShippingGross": 4.0,
"ExternalOrderID": "sample string 5",
"OmsItemID": 6,
"SiteCode": "sample string 7",
"VerificationKey": "sample string 8",
"TimestampUTC": "sample string 9",
"APIUsername": "sample string 10"
}
application/xml, text/xml
Sample:
<ChannelAdvisorReturnAdjustmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API"> <APIUsername>sample string 10</APIUsername> <ExternalOrderID>sample string 5</ExternalOrderID> <OmsItemID>6</OmsItemID> <ProductGross>2</ProductGross> <ProductNet>1</ProductNet> <ShippingGross>4</ShippingGross> <ShippingNet>3</ShippingNet> <SiteCode>sample string 7</SiteCode> <TimestampUTC>sample string 9</TimestampUTC> <VerificationKey>sample string 8</VerificationKey> </ChannelAdvisorReturnAdjustmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| CorrelationId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1",
"CorrelationId": "sample string 2"
}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API"> <CorrelationId>sample string 2</CorrelationId> <Message>sample string 1</Message> <ResponseCode>Success</ResponseCode> </GenericResponse>