class Productstatuses extends Resource (View source)

The "productstatuses" collection of methods.

Typical usage is:

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

Methods

custombatch(ProductstatusesCustomBatchRequest $postBody, array $optParams = [])

Gets the statuses of multiple products in a single request.

get(string $merchantId, string $productId, array $optParams = [])

Gets the status of a product from your Merchant Center account.

listProductstatuses(string $merchantId, array $optParams = [])

Lists the statuses of the products in your Merchant Center account.

Details

ProductstatusesCustomBatchResponse custombatch(ProductstatusesCustomBatchRequest $postBody, array $optParams = [])

Gets the statuses of multiple products in a single request.

(productstatuses.custombatch)

Parameters

ProductstatusesCustomBatchRequest $postBody
array $optParams

Optional parameters.

Return Value

ProductstatusesCustomBatchResponse

Exceptions

Exception

ProductStatus get(string $merchantId, string $productId, array $optParams = [])

Gets the status of a product from your Merchant Center account.

(productstatuses.get)

Parameters

string $merchantId

The ID of the account that contains the product. This account cannot be a multi-client account.

string $productId

The REST ID of the product.

array $optParams

Optional parameters.

Return Value

ProductStatus

Exceptions

Exception

ProductstatusesListResponse listProductstatuses(string $merchantId, array $optParams = [])

Lists the statuses of the products in your Merchant Center account.

(productstatuses.listProductstatuses)

Parameters

string $merchantId

The ID of the account that contains the products. This account cannot be a multi-client account.

array $optParams

Optional parameters.

Return Value

ProductstatusesListResponse

Exceptions

Exception