Show / Hide Table of Contents

Class AccountsResource.LoyaltyCustomersResource.ManageRequest

Manages (inserts, updates, or removes) a customer's loyalty tier information. This method serves as a single interface for all changes to a customer's loyalty status. The specific action (insert, update, or remove) is determined by the current state of the merchant-to-customer association and the loyalty_tier value provided in the request. Operation Logic: * Upsert (Insert/Update): Providing any valid tier other than NON_MEMBER will associate the customer with that tier. If an association already exists, it will be updated; otherwise, a new one will be created. * Removal: Setting loyalty_tier to NON_MEMBER will remove any existing loyalty association for the customer. Privacy Note: To protect user privacy, this method consistently returns a 200 OK status with a default LoyaltyCustomer response if the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>
AccountsResource.LoyaltyCustomersResource.ManageRequest
Implements
IClientServiceRequest<ManageLoyaltyCustomerMatchResponse>
IClientServiceRequest
Inherited Members
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.Xgafv
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.AccessToken
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.Alt
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.Callback
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.Fields
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.Key
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.OauthToken
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.PrettyPrint
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.QuotaUser
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.UploadType
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.UploadProtocol
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.Execute()
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ExecuteAsStream()
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ExecuteAsync()
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.CreateRequest(bool?)
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.GenerateRequestUri()
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ETagAction
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ModifyRequest
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ValidateParameters
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.ApiVersion
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.RequestParameters
ClientServiceRequest<ManageLoyaltyCustomerMatchResponse>.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.Merchant.loyaltycustomers_v1
Assembly: Google.Apis.Merchant.loyaltycustomers_v1.dll
Syntax
public class AccountsResource.LoyaltyCustomersResource.ManageRequest : MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>, IClientServiceRequest<ManageLoyaltyCustomerMatchResponse>, IClientServiceRequest

Constructors

ManageRequest(IClientService, ManageLoyaltyCustomerMatchRequest, string)

Constructs a new Manage request.

Declaration
public ManageRequest(IClientService service, ManageLoyaltyCustomerMatchRequest body, string parent)
Parameters
Type Name Description
IClientService service
ManageLoyaltyCustomerMatchRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. The parent account where this loyalty customer will be handled. Format: accounts/{account}

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Manage parameter list.

Declaration
protected override void InitParameters()
Overrides
MerchantBaseServiceRequest<ManageLoyaltyCustomerMatchResponse>.InitParameters()

Implements

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