Method: accounts.customers.entitlements.lookupOffer

Returns the requested Offer resource.

Possible error codes:

  • PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement or offer was not found.

Return value: The Offer resource.

HTTP request

GET https://cloudchannel.googleapis.com/v1/{entitlement=accounts/*/customers/*/entitlements/*}:lookupOffer

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
entitlement

string

Required. The resource name of the entitlement to retrieve the Offer. Entitlement uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Offer.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.