Class AccountsResource.ProductsResource.LocalInventoriesResource.DeleteRequest
Deletes the specified LocalInventory
from the given product in your merchant account. It might
take a up to an hour for the LocalInventory
to be deleted from the specific product. Once you have
received a successful delete response, wait for that period before attempting a delete again.
Inheritance
AccountsResource.ProductsResource.LocalInventoriesResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Merchant.inventories_v1beta
Assembly: Google.Apis.Merchant.inventories_v1beta.dll
Syntax
public class AccountsResource.ProductsResource.LocalInventoriesResource.DeleteRequest : MerchantBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the local inventory for the given product to delete. Format:
accounts/{account}/products/{product}/localInventories/{store_code}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()