Class OrderreturnsResource.LabelsResource
The "labels" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrderreturnsResource.LabelsResource
Constructors
LabelsResource(IClientService)
Constructs a new resource.
Declaration
public LabelsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(ReturnShippingLabel, long, string)
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.
Declaration
public virtual OrderreturnsResource.LabelsResource.CreateRequest Create(ReturnShippingLabel body, long merchantId, string returnId)
Parameters
Type | Name | Description |
---|---|---|
ReturnShippingLabel | body | The body of the request. |
long | merchantId | Required. The merchant the Return Shipping Label belongs to. |
string | returnId | Required. Provide the Google-generated merchant order return ID. |
Returns
Type | Description |
---|---|
OrderreturnsResource.LabelsResource.CreateRequest |