Lager - v5.2.0
    Preparing search index...

    Defines the structure for creating a new product within the system. This interface specifies the required and optional fields needed when adding a new product.

    ProductCreate

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

    Properties

    api_key: string

    An API key required for product creation operations.

    Optionalarticle_number

    article_number?: string

    Optional. Article number of the product.

    description?: string

    Optional. A brief description of the product.

    location?: string

    Optional. Initial storage location of the product.

    name: string

    The name of the new product.

    price?: number

    Optional. Selling price of the product.

    specifiers?: string

    Optional. Detailed specifications or characteristics of the product.

    stock?: number

    Optional. Initial stock quantity for the product.