Close httplib2 connections.
create(merchantId, body=None, x__xgafv=None)
Allows uploading one customer information entry. Adding a customer with loyalty data enables the customer to see personalized loyalty annotations on search. Uploading a previously existing customer will overwrite the old entry.
close()
Close httplib2 connections.
create(merchantId, body=None, x__xgafv=None)
Allows uploading one customer information entry. Adding a customer with loyalty data enables the customer to see personalized loyalty annotations on search. Uploading a previously existing customer will overwrite the old entry.
Args:
merchantId: string, Required. The ID of the account that owns the customer information. (required)
body: object, The request body.
The object takes the form of:
{ # The object representing a customer to update data for. Includes a customer identifier (such as email address) and any associated metadata to add. LoyaltyData triggers adding customer data for the purpose of loyalty personalization.
"emailAddress": "A String", # The customer's email address. No extra string processing needed.
"loyaltyData": { # The loyalty data of the customer. # Loyalty data associated with the customer.
"loyaltyTier": "A String", # The tier information for the given user. Can be an empty string.
},
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The object representing a customer to update data for. Includes a customer identifier (such as email address) and any associated metadata to add. LoyaltyData triggers adding customer data for the purpose of loyalty personalization.
"emailAddress": "A String", # The customer's email address. No extra string processing needed.
"loyaltyData": { # The loyalty data of the customer. # Loyalty data associated with the customer.
"loyaltyTier": "A String", # The tier information for the given user. Can be an empty string.
},
}