class OrderreturnsLabels extends Resource (View source)

The "labels" collection of methods.

Typical usage is:

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

Methods

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

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

Details

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

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

Parameters

string $merchantId

Required. The merchant the Return Shipping Label belongs to.

string $returnId

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

ReturnShippingLabel $postBody
array $optParams

Optional parameters.

Return Value

ReturnShippingLabel

Exceptions

Exception