Lager - v5.2.0
    Preparing search index...

    Describes the structure for updating an existing product's information.

    This interface outlines both the required fields for identifying the product and the optional fields that can be updated.

    ProductUpdate

    interface ProductUpdate {
        api_key: string;
        article_number?: string;
        description?: string;
        id: number;
        location?: string;
        name: string;
        price?: number;
        specifiers?: string;
        stock?: number;
    }
    Index

    Properties

    api_key: string

    An API key required for product update operations.

    Optionalarticle_number

    article_number?: string

    Optional. New or updated article number of the product.

    description?: string

    Optional. New or updated description of the product.

    id: number

    The unique identifier of the product to be updated.

    location?: string

    Optional. New or updated storage location of the product.

    name: string

    The new name of the product.

    price?: number

    Optional. New or updated selling price of the product.

    specifiers?: string

    Optional. New or updated specifications or characteristics of the product.

    stock?: number

    Optional. Updated stock quantity for the product.