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
| appId | String | eBay Application ID | 
| certId | String | eBay Certificate ID | 
| refreshToken | String | eBay Refresh Token | 
| caseId | String | ID of the case | 
| marketPlaceID | String | eBay Marketplace ID (e.g., EBAY_UK) | 
Outputs
| Success | Boolean | Whether successfully retrieved the incident | 
| Case Data | Object | Ebay 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"
  }
}
Updated over 1 year ago
