Method: accounts.offers.list

Lists the Offers the reseller can sell.

Possible error codes:

  • INVALID_ARGUMENT: Required request parameters are missing or invalid.

HTTP request

GET https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*}/offers

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the reseller account from which to list Offers. Parent uses the format: accounts/{account_id}.

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.

pageToken

string

Optional. A token for a page of results other than the first page.

filter

string

Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1

languageCode

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

dealCode

string

Optional. A string to filter for only these specific deal codes

showFutureOffers

boolean

Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the showFutureOffers is true, the response will only contain offers that are scheduled to be available 30 days from now.

Request body

The request body must be empty.

Response body

Response message for offers.list.

If successful, the response body contains data with the following structure:

JSON representation
{
  "offers": [
    {
      object (Offer)
    }
  ],
  "nextPageToken": string
}
Fields
offers[]

object (Offer)

The list of Offers requested.

nextPageToken

string

A token to retrieve the next page of results.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.