Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SubscriptionsInsertOptions

import type { SubscriptionsInsertOptions } from "https://googleapis.deno.dev/v1/reseller:v1.ts";

Additional options for Reseller#subscriptionsInsert.

interface SubscriptionsInsertOptions {
action?: "actionUnspecified" | "buy" | "switch";
customerAuthToken?: string;
sourceSkuId?: string;
}

§Properties

§
action?: "actionUnspecified" | "buy" | "switch"
[src]

The intented insert action. Advised to set this when the customer already has a subscription for a different SKU in the same product.

§
customerAuthToken?: string
[src]

The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.

§
sourceSkuId?: string
[src]

The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH.