ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Returns UseMutationResult<
          RawMaterial,
          Error,
          {
              code: string;
              name: string;
              description?: string
              | null;
              productType:
                  | "MATIERE_PREMIERE"
                  | "ADHESIF"
                  | "CONSUMABLE"
                  | "SERVICE"
                  | "OUTILLAGE"
                  | "EMBALLAGE"
                  | "AUTRES";
              billingPolicy: "DELIVERED"
              | "ORDERED"
              | "MANUAL";
              unitOfMeasureId?: string | null;
              unitOfPurchaseId?: string | null;
              unitOfStockId?: string | null;
              conversionFactor: number;
              sellingPrice: number;
              cost: number;
              costPerUnit?: string | null;
              salesTaxId?: string | null;
              density?: number | null;
              color?: string | null;
              thickness?: number | null;
              width?: number | null;
              length?: number | null;
              weight?: number | null;
              internalReference?: string | null;
              barcode?: string | null;
              minStockLevel: number;
              maxStockLevel?: number | null;
              reorderPoint: number;
              imageUrl?: string | null;
              imageKey?: string | null;
              internalNotes?: string | null;
              tags?: string | null;
              isActive: boolean;
              categoryId?: string | null;
              suppliers: {
                  id?: string;
                  supplierId: string;
                  supplierCode?: string | null;
                  supplierDesignation?: string | null;
                  priority: number;
                  isPreferred: boolean;
                  isActive: boolean;
                  notes?: string | null;
                  moqTiers: {
                      id?: string;
                      minQuantity: number;
                      unitPrice: number;
                      leadTime?: number | null;
                  }[];
              }[];
          },
          unknown,
      >