Page Summary
-
The
offers.fetchPartnerEligibilitymethod is an unauthenticated method for external partners to check device offer eligibility. -
The HTTP request uses the
GETmethod and requiresofferType,eid, andimeias query parameters. -
The request body must be empty, and the response body contains a JSON object with a single boolean field
isEligible.
An unauthenticated version of offers.fetchEligibility that external partners can call to check if their manufactured device is eligible for an offer.
HTTP request
GET https://fiwholesaleadaptor.googleapis.com/v1/offers:fetchPartnerEligibility
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
offerType |
Required. The id of the offer to return with the device eligibility. If there is no matching offer found, a not found error will be returned. |
eid |
Required. The EID of the eSIM on the device used to validate offer eligibility. |
imei |
Required. The device identifier used to validate offer eligibility. |
Request body
The request body must be empty.
Response body
Response for OfferService.FetchPartnerOfferEligibility.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "isEligible": boolean } |
| Fields | |
|---|---|
isEligible |
Whether the device is eligible for the offer. |