- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists Order
resources that the user has access to, within the scope of the parent resource.
HTTP request
GET https://cloudcommerceconsumerprocurement.googleapis.com/v1alpha1/{parent=billingAccounts/*}/orders
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource to query for orders. This field has the form |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of entries requested. The default page size is 25 and the maximum page size is 200. |
pageToken |
The token for fetching the next page. |
filter |
Filter that you can use to limit the list request. A query string that can match a selected set of attributes with string values. For example,
If the query contains special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, Queries can be combined with |
Request body
The request body must be empty.
Response body
Response message for ConsumerProcurementService.ListOrders
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"orders": [
{
object ( |
Fields | |
---|---|
orders[] |
The list of orders in this response. |
nextPageToken |
The token for fetching the next page. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
consumerprocurement.orders.list
For more information, see the IAM documentation.