Show / Hide Table of Contents

Class OrderreturnsResource.LabelsResource.CreateRequest

Links a return shipping label to a return id. You can only create one return label per return id. Since the label is sent to the buyer, the linked return label cannot be updated or deleted. If you try to create multiple return shipping labels for a single return id, every create request except the first will fail.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ReturnShippingLabel>
ShoppingContentBaseServiceRequest<ReturnShippingLabel>
OrderreturnsResource.LabelsResource.CreateRequest
Implements
IClientServiceRequest<ReturnShippingLabel>
IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.Xgafv
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.AccessToken
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.Alt
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.Callback
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.Fields
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.Key
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.OauthToken
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.PrettyPrint
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.QuotaUser
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.UploadType
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.UploadProtocol
ClientServiceRequest<ReturnShippingLabel>.Execute()
ClientServiceRequest<ReturnShippingLabel>.ExecuteAsStream()
ClientServiceRequest<ReturnShippingLabel>.ExecuteAsync()
ClientServiceRequest<ReturnShippingLabel>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ReturnShippingLabel>.ExecuteAsStreamAsync()
ClientServiceRequest<ReturnShippingLabel>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ReturnShippingLabel>.CreateRequest(bool?)
ClientServiceRequest<ReturnShippingLabel>.GenerateRequestUri()
ClientServiceRequest<ReturnShippingLabel>.GetDefaultETagAction(string)
ClientServiceRequest<ReturnShippingLabel>.ETagAction
ClientServiceRequest<ReturnShippingLabel>.ModifyRequest
ClientServiceRequest<ReturnShippingLabel>.ValidateParameters
ClientServiceRequest<ReturnShippingLabel>.ApiVersion
ClientServiceRequest<ReturnShippingLabel>.RequestParameters
ClientServiceRequest<ReturnShippingLabel>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrderreturnsResource.LabelsResource.CreateRequest : ShoppingContentBaseServiceRequest<ReturnShippingLabel>, IClientServiceRequest<ReturnShippingLabel>, IClientServiceRequest

Constructors

CreateRequest(IClientService, ReturnShippingLabel, long, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, ReturnShippingLabel body, long merchantId, string returnId)
Parameters
Type Name Description
IClientService service
ReturnShippingLabel body
long merchantId
string returnId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReturnShippingLabel>.HttpMethod

MerchantId

Required. The merchant the Return Shipping Label belongs to.

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

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReturnShippingLabel>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReturnShippingLabel>.RestPath

ReturnId

Required. Provide the Google-generated merchant order return ID.

Declaration
[RequestParameter("returnId", RequestParameterType.Path)]
public virtual string ReturnId { get; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<ReturnShippingLabel>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
ShoppingContentBaseServiceRequest<ReturnShippingLabel>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX