eBay Issue Refund via Inquiry

Overview

This action issues a refund for an inquiry based on the provided inquiry ID.

Inputs

NameTypeDescription
appIdStringeBay Application ID
certIdStringeBay Certificate ID
refreshTokenStringeBay Refresh Token
inquiryIdStringID of the inquiry
commentsStringComments to be included in the refund message
marketPlaceStringeBay Marketplace ID

Outputs

NameTypeDescription
successBooleanWhether the refund was successfully issued
dataObjectResponse 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": []
        }
      ]
    }
  }
}