- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the SKUs for a product the reseller is authorized to sell.
Possible error codes:
- INVALID_ARGUMENT: Required request parameters are missing or invalid.
HTTP request
GET https://cloudchannel.googleapis.com/v1/{parent=products/*}/skus
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the Product to list SKUs for. Parent uses the format: products/{productId}. Supports products/- to retrieve SKUs for all products. |
Query parameters
Parameters | |
---|---|
account |
Required. Resource name of the reseller. Format: accounts/{account_id}. |
page |
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. |
page |
Optional. A token for a page of results other than the first page. Optional. |
language |
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". |
Request body
The request body must be empty.
Response body
Response message for skus.list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"skus": [
{
object ( |
Fields | |
---|---|
skus[] |
The list of SKUs requested. |
next |
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.