@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Interface UpdateProductOptions

    Options for updating a product. Only the fields you pass are changed.

    interface UpdateProductOptions {
        active?: boolean;
        defaultPriceId?: string;
        description?: string;
        idempotencyKey?: string;
        images?: string[];
        metadata?: Record<string, string>;
        name?: string;
    }
    Index
    active?: boolean

    Archive (false) or restore (true) the product

    defaultPriceId?: string

    Make this price the product's default price

    description?: string

    New description. Pass '' to clear it.

    idempotencyKey?: string

    Idempotency key (defaults to a generated UUID)

    images?: string[]

    Replace the image URLs

    metadata?: Record<string, string>

    Metadata to merge into the existing metadata. Set a key to '' to remove it.

    name?: string

    New name (must not be empty when given)