promotions
Overview
Name | promotions |
Type | Resource |
Id | googledevelopers.paymentsresellersubscription.promotions |
Fields
Name | Datatype | Description |
---|---|---|
nextPageToken | string | A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages. |
promotions | array | The promotions for the specified partner. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
partners_promotions_list | SELECT | partnersId | To retrieve the promotions, such as free trial, that can be used by the partner. It should be autenticated with a service account. |
partners_promotions_findEligible | EXEC | partnersId | To find eligible promotions for the current user. The API requires user authorization via OAuth. The user is inferred from the authenticated OAuth credential. |