Required. The resource name of the customer to list SKUs for. Format: accounts/{account_id}/customers/{customer_id}.
Query parameters
Parameters
pageSize
integer
Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. 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.
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".
Union parameter purchase_option. Defines the intended purchase. purchase_option can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis document describes how to list purchasable SKUs for a customer using the \u003ccode\u003elistPurchasableSkus\u003c/code\u003e API endpoint, including those for creating a new entitlement or changing an existing offer.\u003c/p\u003e\n"],["\u003cp\u003eThe API uses a \u003ccode\u003eGET\u003c/code\u003e request with a specific URL structure, incorporating path parameters like \u003ccode\u003ecustomer\u003c/code\u003e to identify the customer, and query parameters such as \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003elanguageCode\u003c/code\u003e for controlling the response.\u003c/p\u003e\n"],["\u003cp\u003eTo determine which SKUs are shown, the query parameters accept either the \u003ccode\u003ecreateEntitlementPurchase\u003c/code\u003e to create new entitlements or the \u003ccode\u003echangeOfferPurchase\u003c/code\u003e parameters to upgrade or downgrade existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of \u003ccode\u003epurchasableSkus\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, and to request a successful call, the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003ePossible errors returned by the API are \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e, if the customer does not belong to the reseller, or \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e, if parameters are missing or invalid.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.customers.listPurchasableSkus\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPurchasableSkusResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [CreateEntitlementPurchase](#CreateEntitlementPurchase)\n - [JSON representation](#CreateEntitlementPurchase.SCHEMA_REPRESENTATION)\n- [ChangeOfferPurchase](#ChangeOfferPurchase)\n - [JSON representation](#ChangeOfferPurchase.SCHEMA_REPRESENTATION)\n- [ChangeType](#ChangeType)\n- [PurchasableSku](#PurchasableSku)\n - [JSON representation](#PurchasableSku.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nLists the following:\n\n- SKUs that you can purchase for a customer\n- SKUs that you can upgrade or downgrade for an entitlement.\n\nPossible error codes:\n\n- PERMISSION_DENIED: The customer doesn't belong to the reseller.\n- INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\n### HTTP request\n\n`GET https://cloudchannel.googleapis.com/v1/{customer=accounts/*/customers/*}:listPurchasableSkus`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for customers.listPurchasableSkus.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.order`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nCreateEntitlementPurchase\n-------------------------\n\nList SKUs for a new entitlement. Make the purchase using [CloudChannelService.CreateEntitlement](/channel/docs/reference/rest/v1/accounts.customers.entitlements/create#google.cloud.channel.v1.CloudChannelService.CreateEntitlement).\n\nChangeOfferPurchase\n-------------------\n\nList SKUs for upgrading or downgrading an entitlement. Make the purchase using [CloudChannelService.ChangeOffer](/channel/docs/reference/rest/v1/accounts.customers.entitlements/changeOffer#google.cloud.channel.v1.CloudChannelService.ChangeOffer).\n\nChangeType\n----------\n\nChange Type enum.\n\nPurchasableSku\n--------------\n\nSKU that you can purchase. This is used in ListPurchasableSku API response."]]