eBay Issue Refund via Inquiry
Overview
This action issues a refund for an inquiry based on the provided inquiry ID.
Inputs
| Name | Type | Description | 
|---|---|---|
| appId | String | eBay Application ID | 
| certId | String | eBay Certificate ID | 
| refreshToken | String | eBay Refresh Token | 
| inquiryId | String | ID of the inquiry | 
| comments | String | Comments to be included in the refund message | 
| marketPlace | String | eBay Marketplace ID | 
Outputs
| Name | Type | Description | 
|---|---|---|
| success | Boolean | Whether the refund was successfully issued | 
| data | Object | Response data from eBay API | 
Examples
The following action will issue a refund for the inquiry with ID 12345:
{
  "appId": "YourAppID",
  "certId": "YourCertID",
  "refreshToken": "YourRefreshToken",
  "inquiryId": "12345",
  "comments": "Your refund is on its way.",
  "marketPlace": "EBAY_UK"
}
This query returns the following data on success:
{
  "success": true,
  "data": {
    // Response from eBay API...
  }
}
On failure, it returns:
{
  "success": false,
  "data": {
    "message": "Failed to issue inquiry refund",
    "details": {
      "error": [
        {
          "errorId": 292018,
          "domain": "resolutionsErrorDomain",
          "severity": "ERROR",
          "category": "REQUEST",
          "message": "Request is in invalid state.",
          "parameter": [],
          "errorName": "IllegalState",
          "organization": "Marketplace",
          "inputRefIds": []
        }
      ]
    }
  }
}
Updated over 1 year ago
