Class MerchantsupportResource
The "merchantsupport" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class MerchantsupportResource
Constructors
MerchantsupportResource(IClientService)
Constructs a new resource.
Declaration
public MerchantsupportResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Renderaccountissues(RenderAccountIssuesRequestPayload, long)
Provide a list of merchant's issues with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.
Declaration
public virtual MerchantsupportResource.RenderaccountissuesRequest Renderaccountissues(RenderAccountIssuesRequestPayload body, long merchantId)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderAccountIssuesRequestPayload | body | The body of the request. |
| long | merchantId | Required. The ID of the account to fetch issues for. |
Returns
| Type | Description |
|---|---|
| MerchantsupportResource.RenderaccountissuesRequest |
Renderproductissues(RenderProductIssuesRequestPayload, long, string)
Provide a list of issues for merchant's product with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.
Declaration
public virtual MerchantsupportResource.RenderproductissuesRequest Renderproductissues(RenderProductIssuesRequestPayload body, long merchantId, string productId)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderProductIssuesRequestPayload | body | The body of the request. |
| long | merchantId | Required. The ID of the account that contains the product. |
| string | productId | Required. The REST_ID of the product to fetch issues for. |
Returns
| Type | Description |
|---|---|
| MerchantsupportResource.RenderproductissuesRequest |
Triggeraction(TriggerActionPayload, long)
Start an action. The action can be requested by merchants in third-party application. Before merchants can
request the action, the third-party application needs to show them action specific content and display a
user input form. The action can be successfully started only once all required inputs are provided. If any
required input is missing, or invalid value was provided, the service will return 400 error. Validation
errors will contain Ids for all problematic field together with translated, human readable error messages
that can be shown to the user.
Declaration
public virtual MerchantsupportResource.TriggeractionRequest Triggeraction(TriggerActionPayload body, long merchantId)
Parameters
| Type | Name | Description |
|---|---|---|
| TriggerActionPayload | body | The body of the request. |
| long | merchantId | Required. The ID of the merchant's account. |
Returns
| Type | Description |
|---|---|
| MerchantsupportResource.TriggeractionRequest |