eBay Post-Order APIVersion 2.7.7
 

Check Inquiry Eligibility

POST /post-order/v2/inquiry/check_eligibility

This method is used to determine if the buyer is eligible to file an inquiry for a particular order line item. Various criteria must be satisfied, including the timing of the inquiry, the eBay site involved, and approval of eligibility.

This method is not supported in the Sandbox environment.

Input

See also Samples.

Resource URI (production)

POST https://api.ebay.com/post-order/v2/inquiry/check_eligibility

This call has no path or query parameters.


HTTP request headers

All requests made to eBay REST operations require you to provide the authorization HTTP header for authentication.
See HTTP request headers for details.



Authorization

This call uses standard authorization tokens. See Making a Call for details.

Payload model

The following lists all fields that could be included in the request.

{ /* CheckInquiryEligibilityRequest */
"itemId": string,
"transactionId": string
}

Request field descriptions



Input Container/Field Type Occurrence Meaning
itemId string Required The unique identifier of the eBay listing where the item was purchased. This field is used in conjunction with the transactionId field to identify a line item within an order.
transactionId string Required The unique identifier for the purchase of a item. This value is created right when the buyer is committed to buying the item, whether that buyer uses a 'Buy it Now' capability, is the winning bidder of an auction, or the buyer's Best Offer is accepted by the seller. This field and the itemId field are required in order to identify a line item within an order.

Output

See also Samples.

Payload model

Note: For information about the error fields and how to work with them, see Error Handling.

The following lists all fields that could be included in the response.

{ /* CheckInquiryEligibilityResponse */
"earliestPossibleFilingDate":
    { /* DateTime */
    "formattedValue": string,
    "value": datetime
    },
"errors": [
    { /* EligibilityResponseError */
    "id": string,
    "severity": string
    }
    /* More EligibilityResponseError nodes here */
  ],
"estimatedDeliveryDate":
    { /* DateTime */
    "formattedValue": string,
    "value": datetime
    },
"inquiryEligibilityStatus": string,
"inquiryId": string,
"latestPossibleFilingDate":
    { /* DateTime */
    "formattedValue": string,
    "value": datetime
    },
"nonOverridableErrors": [
    { /* EligibilityResponseError */
    "id": string,
    "severity": string
    }
    /* More EligibilityResponseError nodes here */
  ],
"paypalReasonToDenyRequestFiling": string,
"returnFilingDate":
    { /* DateTime */
    "formattedValue": string,
    "value": datetime
    },
"returnId": string,
"warnings": [
    { /* EligibilityResponseError */
    "id": string,
    "severity": string
    }
    /* More EligibilityResponseError nodes here */
  ]
}

Response field descriptions



Output Container/Field Type Occurrence Meaning
earliestPossibleFilingDate DateTime Conditionally The timestamp in this container indicates the earliest possible date that the buyer can file an inquiry against the specified order line item. This field will not be returned if the value of the inquiryEligibilityStatus field is INELIGIBLE.
earliestPossibleFilingDate
  .formattedValue
string Conditionally Reserved for future use.
earliestPossibleFilingDate
  .value
datetime Conditionally This timestamp indicates the date and time when an action or event occurred.

The timestamp is formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock.

Format: [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z
Example: 2022-03-20T00:00:00.000Z
errors array of EligibilityResponseError Conditionally This container is an array of one or more error messages regarding the buyer's eligibility to file an INR inquiry for a particular order line item. This container is generally returned if the value of the inquiryEligibilityStatus field is INELIGIBLE. However, based on the error(s) that appear here, it is possible that the buyer can address and resolve these errors/issues and become eligible to file an INR inquiry against the order line item.
errors.id string Conditionally The unique identifier of the error or warning. This field is always returned with each error or warning that is returned in the response.
errors.severity string Conditionally This field indicates if the issue is an error or a warning. This field is always returned with each error or warning that is returned in the response.
estimatedDeliveryDate DateTime Conditionally The timestamp in this container indicates the estimated delivery date of the order line item associated with this INR inquiry. This container is returned if available.
estimatedDeliveryDate
  .formattedValue
string Conditionally Reserved for future use.
estimatedDeliveryDate.value datetime Conditionally This timestamp indicates the date and time when an action or event occurred.

The timestamp is formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock.

Format: [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z
Example: 2022-03-20T00:00:00.000Z
inquiryEligibilityStatus string Always The enumeration value returned here indicates the eligibility of the buyer to file an INR inquiry against the order line item.

Applicable values are from InquiryEligibilityStatusEnum:

ELIGIBLE_TO_FILE_REQUEST
This enumeration value indicates that the buyer is eligible to file an inquiry against the specified line item.
ELIGIBLE_TO_FILE_WITH_WARNING
This enumeration value indicates that the buyer is eligible to file an inquiry against the specified line item, but must comply with warnings that are revealed under the warnings container in the response.
INELIGIBLIE
This enumeration value indicates that the buyer is not eligible to file an inquiry against the specified line item. The buyer should read the errors that are returned in the errors and/or nonOverridableErrors containers.

Code so that your app gracefully handles any future changes to this list.
inquiryId string Conditionally The unique identifier of an INR inquiry that was filed against the order line item that was specified in the request. This field is only returned if an existing INR inquiry request already exists for the order line item, and if an INR inquiry already exists for the order line item, another INR inquiry cannot be created
latestPossibleFilingDate DateTime Conditionally The timestamp in this container indicates the latest possible date that the buyer can file an INR inquiry against the specified order line item. This field will not be returned if the value of the inquiryEligibilityStatus field is INELIGIBLE.
latestPossibleFilingDate
  .formattedValue
string Conditionally Reserved for future use.
latestPossibleFilingDate.value datetime Conditionally This timestamp indicates the date and time when an action or event occurred.

The timestamp is formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock.

Format: [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z
Example: 2022-03-20T00:00:00.000Z
nonOverridableErrors array of EligibilityResponseError Conditionally This container is an array of one or more error messages regarding the buyer's eligibility to file an INR inquiry for a particular order line item. This container is generally returned if the value of the inquiryEligibilityStatus field is INELIGIBLE. These errors/issues cannot be addressed and resolved by the buyer, and the buyer will not be eligible to file an INR inquiry against the order line item.
nonOverridableErrors.id string Conditionally The unique identifier of the error or warning. This field is always returned with each error or warning that is returned in the response.
nonOverridableErrors.severity string Conditionally This field indicates if the issue is an error or a warning. This field is always returned with each error or warning that is returned in the response.
paypalReasonToDenyRequestFiling string Conditionally THIS FIELD IS DEPRECATED.

Applicable values: See PaymentDenialReasonEnum
returnFilingDate DateTime Conditionally The timestamp in this container specifies the latest possible date that the buyer can create a return request for an order line item. This field is only applicable if the buyer has received and wants to return an item.
returnFilingDate
  .formattedValue
string Conditionally Reserved for future use.
returnFilingDate.value datetime Conditionally This timestamp indicates the date and time when an action or event occurred.

The timestamp is formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock.

Format: [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z
Example: 2022-03-20T00:00:00.000Z
returnId string Conditionally This string value is the unique identifier of a return request. This field is only returned if the buyer filed a return request against the order line item associated with the INR inquiry.
warnings array of EligibilityResponseError Conditionally This container is an array of one or more warning messages regarding the buyer's eligibility to file an INR inquiry for a particular order line item. This container is generally returned if the value of the inquiryEligibilityStatus field is ELIGIBLE_TO_FILE_WITH_WARNING. The buyer may need to address these warnings prior to filing an INR inquiry against the order line item.
warnings.id string Conditionally The unique identifier of the error or warning. This field is always returned with each error or warning that is returned in the response.
warnings.severity string Conditionally This field indicates if the issue is an error or a warning. This field is always returned with each error or warning that is returned in the response.
null



Samples

New to making API calls? Please see Making a Call.

Note: Some item IDs, user IDs, or other data in these samples might no longer be active on eBay. If necessary, you can substitute current eBay data in your requests.

Sample: Check Inquiry Eligibility

This call determines if the buyer is eligible to file an INR inquiry for a particular line item.

Description

This call determines if an INR inquiry can be filed against a particular order line item. Several factors go into to determining whether an INR inquiry can be filed against an order line item, such as listing site, order creation date, estimated delivery date and more.

Input

The combination of the itemId and transactionId fields identifies a specific order line item, and by inference the order details such as the payment date and the site, all of which might affect the buyer's eligibility to file an inquiry.

URL format. See also the non-wrapped version of this URL.

POST https://api.ebay.com/post-order/v2/inquiry/check_eligibility 
{
  "itemId": "1**********5",
  "transactionId": "8********3"
}

Output

By returning an inquiryEligibilityStatus value of INELIGIBLE this response indicates that the buyer cannot file an INR inquiry, and the errors.id value of INELIGIBLE_TRANSACTION_SITE indicates that the order line item was sold from an eBay site, EBAY_FR, that does not support INR inquiries.

JSON format.
{
  "inquiryEligibilityStatus": "INELIGIBLIE",
  "warnings": [ ],
  "errors": [
    {
      "severity": "ERROR",
      "parameters": {
        "empty": false,
        "values": [
          "EBAY_FR"
        ]
      },
      "id": "INELIGIBLE_TRANSACTION_SITE"
    }
  ]
}



Change History

Change Date Description
1.0
2015-08-10
  • Call (added): New call.