eBay Get Order Data by Order ID

Overview

This action retrieves complete order details and shipping fulfillment information using an order ID.

Inputs

clientIdStringeBay Client ID (App ID)
clientSecretStringeBay Client Secret (Cert ID)
refreshTokenStringeBay Refresh Token
orderIdStringeBay Order ID
marketplaceIdStringeBay Marketplace ID

Outputs

successBooleanWhether data was retrieved successfully
orderDataObjectComplete eBay order details
fulfillmentDataArrayShipping fulfillment information

Examples

Request:

{
  "clientId": "YourClientID",
  "clientSecret": "YourClientSecret",
  "refreshToken": "YourRefreshToken",
  "orderId": "05-12487-02510",
  "marketplaceId": "EBAY_US"
}

Successful response:

{
  "success": true,
  "orderData": {
    "orderId": "05-12487-02510",
    "creationDate": "2024-12-19T14:34:03.000Z",
    "orderFulfillmentStatus": "FULFILLED",
    "orderPaymentStatus": "PAID",
    "lineItems": [...],
    "fulfillmentHrefs": [...]
  },
  "fulfillmentData": [
    {
      "lineItems": [...],
      "shippingTracking": {...},
      "fulfillmentDate": "..."
    }
  ]
}

Failed response:

{
  "success": false,
  "error": "Failed to fetch order details"
}