class Customers extends Resource (View source)

The "customers" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $customers = $contentService->customers;

Methods

create(string $merchantId, Customer $postBody, array $optParams = [])

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. (customers.create)

Details

Customer create(string $merchantId, Customer $postBody, array $optParams = [])

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. (customers.create)

Parameters

string $merchantId

Required. The ID of the account that owns the customer information.

Customer $postBody
array $optParams

Optional parameters.

Return Value

Customer