Documentation

eBay Get Case by Case ID

Here's the documentation for using the handler function to fetch case details by case ID from the eBay API. This documentation follows a similar structure to the one you provided for Oracle Service Cloud.

Overview

This documentation provides details for using the handler action to fetch details of an existing case in eBay's Post-Order API. The handler action retrieves the details of a case based on the provided case ID.

Inputs

appIdStringeBay Application ID
certIdStringeBay Certificate ID
refreshTokenStringeBay Refresh Token
caseIdStringID of the case
marketPlaceIDStringeBay Marketplace ID (e.g., EBAY_UK)

Outputs

SuccessBooleanWhether successfully retrieved the incident
Case DataObjectEbay case data

Examples

The following action will fetch the details of the case with ID XXXXXX:

{
  "appId": "YourAppID",
  "certId": "YourCertID",
  "refreshToken": "YourRefreshToken",
  "caseId": "XXXXXX",
  "marketPlaceID": "EBAY_UK"
}

This query returns the following data on success:

{
  "success": true,
  "data": {
    "caseId": "XXXXXX",
    "caseType": "ITEM_NOT_RECEIVED",
    "itemId": "1234567890",
    "transactionId": "0987654321",
    "status": "OPEN",
    // Other case details...
  }
}

On failure, it returns:

{
  "success": false,
  "data": {
    "message": "Failed to fetch case details"
  }
}