Show / Hide Table of Contents

Class OrdersResource.ListRequest

Lists the orders in your Merchant Center account.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<OrdersListResponse>
ShoppingContentBaseServiceRequest<OrdersListResponse>
OrdersResource.ListRequest
Implements
Google.Apis.Requests.IClientServiceRequest<OrdersListResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<OrdersListResponse>.Xgafv
ShoppingContentBaseServiceRequest<OrdersListResponse>.AccessToken
ShoppingContentBaseServiceRequest<OrdersListResponse>.Alt
ShoppingContentBaseServiceRequest<OrdersListResponse>.Callback
ShoppingContentBaseServiceRequest<OrdersListResponse>.Fields
ShoppingContentBaseServiceRequest<OrdersListResponse>.Key
ShoppingContentBaseServiceRequest<OrdersListResponse>.OauthToken
ShoppingContentBaseServiceRequest<OrdersListResponse>.PrettyPrint
ShoppingContentBaseServiceRequest<OrdersListResponse>.QuotaUser
ShoppingContentBaseServiceRequest<OrdersListResponse>.UploadType
ShoppingContentBaseServiceRequest<OrdersListResponse>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class ListRequest : ShoppingContentBaseServiceRequest<OrdersListResponse>, IClientServiceRequest<OrdersListResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, UInt64)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, ulong merchantId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.UInt64 merchantId

Properties

Acknowledged

Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged. We recommend using this filter set to false, in conjunction with the acknowledge call, such that only un-acknowledged orders are returned.

Declaration
[RequestParameter("acknowledged", RequestParameterType.Query)]
public virtual bool? Acknowledged { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.HttpMethod

MaxResults

The maximum number of orders to return in the response, used for paging. The default value is 25 orders per page, and the maximum allowed value is 250 orders per page.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

MerchantId

The ID of the account that manages the order. This cannot be a multi-client account.

Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type Description
System.UInt64

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.MethodName

OrderBy

Order results by placement date in descending or ascending order. Acceptable values are: - placedDateAsc

  • placedDateDesc
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type Description
System.String

PageToken

The token returned by the previous request.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

PlacedDateEnd

Obtains orders placed before this date (exclusively), in ISO 8601 format.

Declaration
[RequestParameter("placedDateEnd", RequestParameterType.Query)]
public virtual string PlacedDateEnd { get; set; }
Property Value
Type Description
System.String

PlacedDateStart

Obtains orders placed after this date (inclusively), in ISO 8601 format.

Declaration
[RequestParameter("placedDateStart", RequestParameterType.Query)]
public virtual string PlacedDateStart { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.RestPath

Statuses

Obtains orders that match any of the specified statuses. Please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and canceled.

Declaration
[RequestParameter("statuses", RequestParameterType.Query)]
public virtual OrdersResource.ListRequest.StatusesEnum? Statuses { get; set; }
Property Value
Type Description
System.Nullable<OrdersResource.ListRequest.StatusesEnum>
Remarks

Use this property to set a single value for the parameter, or StatusesList to set multiple values. Do not set both properties.

StatusesList

Obtains orders that match any of the specified statuses. Please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and canceled.

Declaration
[RequestParameter("statuses", RequestParameterType.Query)]
public virtual Repeatable<OrdersResource.ListRequest.StatusesEnum> StatusesList { get; set; }
Property Value
Type Description
Google.Apis.Util.Repeatable<OrdersResource.ListRequest.StatusesEnum>
Remarks

Use this property to set one or more values for the parameter. Do not set both this property and Statuses.

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersListResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top