Method: accounts.customers.orders.list

List Orders belonging to a customer.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The resource name of the reseller customer account for which to list orders. The parent takes the format: 'accounts/{account_id}/customers/{customer_id}'

Query parameters

Parameters
pageSize

number

Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size.

pageToken

string

A token identifying a page of results, if other than the first one, the server should return. Typically obtained via ListOrdersResponse.next_page_token of the previous CloudChannelService.ListOrders call.

Request body

The request body must be empty.

Response body

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

Response message for CloudChannelService.ListOrders.

JSON representation
{
  "orders": [
    {
      object(Order)
    }
  ],
  "nextPageToken": string
}
Fields
orders[]

object(Order)

The orders belonging to the reseller's customer.

nextPageToken

string

A token to retrieve next page of results. Pass to ListOrdersRequest.page_token to obtain that page.

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

Try it!