- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- TransferableSku
- PurchaseEligibility
- Reason
- TransferEligibility
- Reason
- Try it!
List TransferableSku
s of a customer based on the Cloud Identity ID or Customer Name in the request.
Use this method to list the entitlements information of an unowned customer. You should provide the customer's Cloud Identity ID or Customer Name.
Possible error codes:
- PERMISSION_DENIED:
- The customer doesn't belong to the reseller and has no auth token.
- The supplied auth token is invalid.
- The reseller account making the request is different from the reseller account in the query.
- INVALID_ARGUMENT: Required request parameters are missing or invalid.
Return value: A list of the customer's TransferableSku
.
HTTP request
POST https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*}:listTransferableSkus
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The reseller account's resource name. Parent uses the format: accounts/{account_id} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "pageSize": integer, "pageToken": string, "authToken": string, "languageCode": string, // Union field |
Fields | |
---|---|
page |
The 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. Optional. |
page |
A token for a page of results other than the first page. Obtained using |
auth |
Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details. |
language |
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". Optional. |
Union field transferred_customer_identity . Specifies the identity of transferred customer. Either a cloud_identity_id of the customer or the customer name is required to look up transferable SKUs. transferred_customer_identity can be only one of the following: |
|
cloud |
Customer's Cloud Identity ID |
customer |
A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id} |
Response body
Response message for CloudChannelService.ListTransferableSkus
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"transferableSkus": [
{
object ( |
Fields | |
---|---|
transferable |
Information about existing SKUs for a customer that needs a transfer. |
next |
A token to retrieve the next page of results. Pass to |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.
TransferableSku
TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only.
JSON representation |
---|
{ "productId": string, "skuId": string, "numUnits": integer, "maxUnits": integer, "purchaseEligibility": { object ( |
Fields | |
---|---|
productId |
The product pertaining to the provisioning resource as specified in the Offer. Deprecated: Use |
skuId |
The SKU pertaining to the provisioning resource as specified in the Offer. Deprecated: Use |
numUnits |
Number of units for a commitment-based Offer. For example, for seat-based offers, this would be the number of seats; for license-based offers, this would be the number of licenses. Deprecated: Use |
maxUnits |
Maximum number of units for a non-commitment-based offer, such as Flexible or Trial. Deprecated: Use |
purchaseEligibility |
Describes the purchase eligibility of a SKU. Deprecated: Use |
isCommitment |
Whether a transferable SKU is commitment-based or not. Deprecated: Use |
commitmentEndTimestamp |
Commitment end timestamp. Deprecated: Use A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
assignedUnits |
The current number of users that are assigned a license for the skuId. This cannot be reduced during a transfer. Deprecated: Use |
transfer |
Describes the transfer eligibility of a SKU. |
skuDisplayName |
Human readable SKU name. This field can be used by resellers if the transferable SKU is not available in their offers. Deprecated: Use |
sku |
The SKU pertaining to the provisioning resource as specified in the Offer. |
legacy |
Optional. The customer to transfer has an entitlement with the populated legacy SKU. |
PurchaseEligibility
Specifies purchase eligibility of a SKU.
JSON representation |
---|
{
"isEligible": boolean,
"description": string,
"ineligibilityReason": enum ( |
Fields | |
---|---|
is |
Whether reseller is eligible to purchase the SKU. |
description |
Localized description if reseller is not eligible to purchase the SKU. |
ineligibility |
Specified the reason for ineligibility. |
Reason
Reason of ineligibility.
Enums | |
---|---|
REASON_UNSPECIFIED |
Not used. |
ACCEPT_TOS |
Reseller needs to accept TOS before purchasing the SKU. |
TransferEligibility
Specifies transfer eligibility of a SKU.
JSON representation |
---|
{
"isEligible": boolean,
"description": string,
"ineligibilityReason": enum ( |
Fields | |
---|---|
is |
Whether reseller is eligible to transfer the SKU. |
description |
Localized description if reseller is not eligible to transfer the SKU. |
ineligibility |
Specified the reason for ineligibility. |
Reason
Reason of ineligibility.
Enums | |
---|---|
REASON_UNSPECIFIED |
Not used. |
PENDING_TOS_ACCEPTANCE |
Reseller needs to accept TOS before transferring the SKU. |
SKU_NOT_ELIGIBLE |
Reseller not eligible to sell the SKU. |
SKU_SUSPENDED |
SKU subscription is suspended |
CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU |
The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 |